Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[docs] Fix a small typo in property comment #13245

Merged
merged 3 commits into from
May 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading