Skip to content

Commit

Permalink
scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
alexfauquette committed Jun 7, 2024
1 parent 772ee2d commit f3d28ed
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/pages/x/api/charts/chart-container.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"describedArgs": ["highlightedItem"]
}
},
"plugins": { "type": { "name": "array" } },
"plugins": { "type": { "name": "arrayOf", "description": "Array<object>" } },
"xAxis": {
"type": {
"name": "arrayOf",
Expand Down
2 changes: 1 addition & 1 deletion docs/pages/x/api/charts/responsive-chart-container.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"describedArgs": ["highlightedItem"]
}
},
"plugins": { "type": { "name": "array" } },
"plugins": { "type": { "name": "arrayOf", "description": "Array<object>" } },
"width": { "type": { "name": "number" } },
"xAxis": {
"type": {
Expand Down
2 changes: 1 addition & 1 deletion packages/x-charts/src/ChartContainer/ChartContainer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ ChartContainer.propTypes = {
* An array of plugins defining how to preprocess data.
* If not provided, the container supports line, bar, scatter and pie charts.
*/
plugins: PropTypes.array,
plugins: PropTypes.arrayOf(PropTypes.object),
/**
* The array of series to display.
* Each type of series has its own specificity.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ ResponsiveChartContainer.propTypes = {
* An array of plugins defining how to preprocess data.
* If not provided, the container supports line, bar, scatter and pie charts.
*/
plugins: PropTypes.array,
plugins: PropTypes.arrayOf(PropTypes.object),
/**
* The array of series to display.
* Each type of series has its own specificity.
Expand Down

0 comments on commit f3d28ed

Please sign in to comment.