From b9ac68cc0c7f77211fcfa1dc80608f8c5ac2bccd Mon Sep 17 00:00:00 2001
From: Jan Potoms <2109932+Janpot@users.noreply.github.com>
Date: Sat, 25 May 2024 17:51:47 +0200
Subject: [PATCH] [docs] Fix a small typo in property comment (#13245)
---
.../api-docs/data-grid/data-grid-premium/data-grid-premium.json | 2 +-
.../api-docs/data-grid/data-grid-pro/data-grid-pro.json | 2 +-
docs/translations/api-docs/data-grid/data-grid/data-grid.json | 2 +-
.../x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx | 2 +-
packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx | 2 +-
packages/x-data-grid/src/DataGrid/DataGrid.tsx | 2 +-
packages/x-data-grid/src/models/props/DataGridProps.ts | 2 +-
7 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/docs/translations/api-docs/data-grid/data-grid-premium/data-grid-premium.json b/docs/translations/api-docs/data-grid/data-grid-premium/data-grid-premium.json
index 891f2d299dc2e..7acafbb5fb7b6 100644
--- a/docs/translations/api-docs/data-grid/data-grid-premium/data-grid-premium.json
+++ b/docs/translations/api-docs/data-grid/data-grid-premium/data-grid-premium.json
@@ -14,7 +14,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
- "description": "If true
, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
+ "description": "If true
, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If true
, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
diff --git a/docs/translations/api-docs/data-grid/data-grid-pro/data-grid-pro.json b/docs/translations/api-docs/data-grid/data-grid-pro/data-grid-pro.json
index be79188d0bbc9..65352ff84b612 100644
--- a/docs/translations/api-docs/data-grid/data-grid-pro/data-grid-pro.json
+++ b/docs/translations/api-docs/data-grid/data-grid-pro/data-grid-pro.json
@@ -9,7 +9,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
- "description": "If true
, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
+ "description": "If true
, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If true
, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
diff --git a/docs/translations/api-docs/data-grid/data-grid/data-grid.json b/docs/translations/api-docs/data-grid/data-grid/data-grid.json
index 7ea702d9b2107..770bf5af8fa54 100644
--- a/docs/translations/api-docs/data-grid/data-grid/data-grid.json
+++ b/docs/translations/api-docs/data-grid/data-grid/data-grid.json
@@ -9,7 +9,7 @@
"description": "The id of the element containing a label for the Data Grid."
},
"autoHeight": {
- "description": "If true
, the Data Grid height is dynamic and follow the number of rows in the Data Grid."
+ "description": "If true
, the Data Grid height is dynamic and follows the number of rows in the Data Grid."
},
"autoPageSize": {
"description": "If true
, the pageSize is calculated according to the container size and the max number of rows to avoid rendering a vertical scroll bar."
diff --git a/packages/x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx b/packages/x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx
index e02518bd2aa5d..c00103025fe4e 100644
--- a/packages/x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx
+++ b/packages/x-data-grid-premium/src/DataGridPremium/DataGridPremium.tsx
@@ -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,
diff --git a/packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx b/packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx
index 79005e9089045..4a68d6580cf51 100644
--- a/packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx
+++ b/packages/x-data-grid-pro/src/DataGridPro/DataGridPro.tsx
@@ -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,
diff --git a/packages/x-data-grid/src/DataGrid/DataGrid.tsx b/packages/x-data-grid/src/DataGrid/DataGrid.tsx
index a82e1a507b0bc..7c567b6774a29 100644
--- a/packages/x-data-grid/src/DataGrid/DataGrid.tsx
+++ b/packages/x-data-grid/src/DataGrid/DataGrid.tsx
@@ -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,
diff --git a/packages/x-data-grid/src/models/props/DataGridProps.ts b/packages/x-data-grid/src/models/props/DataGridProps.ts
index dab6bbdef927b..759097fa8d123 100644
--- a/packages/x-data-grid/src/models/props/DataGridProps.ts
+++ b/packages/x-data-grid/src/models/props/DataGridProps.ts
@@ -99,7 +99,7 @@ export interface DataGridPropsWithComplexDefaultValueBeforeProcessing {
*/
export interface DataGridPropsWithDefaultValues {
/**
- * 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;