Skip to content

Commit

Permalink
[docs] Fix a small typo in property comment (mui#13245)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored and thomasmoon committed Sep 6, 2024
1 parent 41d862a commit 4eb6d20
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
"description": "If <code>true</code>, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
"description": "If <code>true</code>, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If <code>true</code>, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
"description": "If <code>true</code>, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
"description": "If <code>true</code>, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If <code>true</code>, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
"description": "If <code>true</code>, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
"description": "If <code>true</code>, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If <code>true</code>, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ DataGridPremiumRaw.propTypes = {
*/
'aria-labelledby': PropTypes.string,
/**
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
* If `true`, the Data Grid height is dynamic and follows the number of rows in the Data Grid.
* @default false
*/
autoHeight: PropTypes.bool,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ DataGridProRaw.propTypes = {
*/
'aria-labelledby': PropTypes.string,
/**
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
* If `true`, the Data Grid height is dynamic and follows the number of rows in the Data Grid.
* @default false
*/
autoHeight: PropTypes.bool,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/DataGrid/DataGrid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ DataGridRaw.propTypes = {
*/
'aria-labelledby': PropTypes.string,
/**
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
* If `true`, the Data Grid height is dynamic and follows the number of rows in the Data Grid.
* @default false
*/
autoHeight: PropTypes.bool,
Expand Down
2 changes: 1 addition & 1 deletion packages/x-data-grid/src/models/props/DataGridProps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ export interface DataGridPropsWithComplexDefaultValueBeforeProcessing {
*/
export interface DataGridPropsWithDefaultValues<R extends GridValidRowModel = any> {
/**
* If `true`, the Data Grid height is dynamic and follow the number of rows in the Data Grid.
* If `true`, the Data Grid height is dynamic and follows the number of rows in the Data Grid.
* @default false
*/
autoHeight: boolean;
Expand Down

0 comments on commit 4eb6d20

Please sign in to comment.