From e557ed55fb7be04af6e70fa74daca75a3267c114 Mon Sep 17 00:00:00 2001 From: Olivier Tassinari Date: Fri, 16 Aug 2024 11:45:42 +0200 Subject: [PATCH] [docs] Remove relience of abbreviations (#14226) --- docs/data/data-grid/pagination/CursorPaginationGrid.js | 2 +- docs/data/data-grid/pagination/CursorPaginationGrid.tsx | 2 +- docs/data/data-grid/server-side-data/ServerSideErrorHandling.js | 2 +- .../data/data-grid/server-side-data/ServerSideErrorHandling.tsx | 2 +- .../server-side-data/ServerSideTreeDataErrorHandling.js | 2 +- .../server-side-data/ServerSideTreeDataErrorHandling.tsx | 2 +- docs/src/modules/components/CustomizationPlayground.tsx | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/data/data-grid/pagination/CursorPaginationGrid.js b/docs/data/data-grid/pagination/CursorPaginationGrid.js index 04caad836070..1815b0577100 100644 --- a/docs/data/data-grid/pagination/CursorPaginationGrid.js +++ b/docs/data/data-grid/pagination/CursorPaginationGrid.js @@ -110,7 +110,7 @@ export default function CursorPaginationGrid() { aria-labelledby="demo-cursor-pagination-buttons-group-label" name="cursor-pagination-buttons-group" value={rowCountType} - onChange={(e) => setRowCountType(e.target.value)} + onChange={(event) => setRowCountType(event.target.value)} > } label="Known" /> } label="Unknown" /> diff --git a/docs/data/data-grid/pagination/CursorPaginationGrid.tsx b/docs/data/data-grid/pagination/CursorPaginationGrid.tsx index d54e3e806c7d..113e1b7945c4 100644 --- a/docs/data/data-grid/pagination/CursorPaginationGrid.tsx +++ b/docs/data/data-grid/pagination/CursorPaginationGrid.tsx @@ -117,7 +117,7 @@ export default function CursorPaginationGrid() { aria-labelledby="demo-cursor-pagination-buttons-group-label" name="cursor-pagination-buttons-group" value={rowCountType} - onChange={(e) => setRowCountType(e.target.value as RowCountType)} + onChange={(event) => setRowCountType(event.target.value as RowCountType)} > } label="Known" /> } label="Unknown" /> diff --git a/docs/data/data-grid/server-side-data/ServerSideErrorHandling.js b/docs/data/data-grid/server-side-data/ServerSideErrorHandling.js index e04e012a2b7e..2f344485f9e6 100644 --- a/docs/data/data-grid/server-side-data/ServerSideErrorHandling.js +++ b/docs/data/data-grid/server-side-data/ServerSideErrorHandling.js @@ -98,7 +98,7 @@ export default function ServerSideErrorHandling() { control={ setShouldRequestsFail(e.target.checked)} + onChange={(event) => setShouldRequestsFail(event.target.checked)} /> } label="Make the requests fail" diff --git a/docs/data/data-grid/server-side-data/ServerSideErrorHandling.tsx b/docs/data/data-grid/server-side-data/ServerSideErrorHandling.tsx index 5889480270a0..85cc69fdb165 100644 --- a/docs/data/data-grid/server-side-data/ServerSideErrorHandling.tsx +++ b/docs/data/data-grid/server-side-data/ServerSideErrorHandling.tsx @@ -104,7 +104,7 @@ export default function ServerSideErrorHandling() { control={ setShouldRequestsFail(e.target.checked)} + onChange={(event) => setShouldRequestsFail(event.target.checked)} /> } label="Make the requests fail" diff --git a/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.js b/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.js index 9c7154e46f4b..faffe196653b 100644 --- a/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.js +++ b/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.js @@ -78,7 +78,7 @@ export default function ServerSideTreeDataErrorHandling() { control={ setShouldRequestsFail(e.target.checked)} + onChange={(event) => setShouldRequestsFail(event.target.checked)} /> } label="Make the requests fail" diff --git a/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.tsx b/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.tsx index e83ca6851fa0..d7e61934f194 100644 --- a/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.tsx +++ b/docs/data/data-grid/server-side-data/ServerSideTreeDataErrorHandling.tsx @@ -83,7 +83,7 @@ export default function ServerSideTreeDataErrorHandling() { control={ setShouldRequestsFail(e.target.checked)} + onChange={(event) => setShouldRequestsFail(event.target.checked)} /> } label="Make the requests fail" diff --git a/docs/src/modules/components/CustomizationPlayground.tsx b/docs/src/modules/components/CustomizationPlayground.tsx index 0e34112f8753..64aaa0e48bec 100644 --- a/docs/src/modules/components/CustomizationPlayground.tsx +++ b/docs/src/modules/components/CustomizationPlayground.tsx @@ -360,7 +360,7 @@ const CustomizationPlayground = function CustomizationPlayground({ id="select-component" label="" value={selectedDemo} - onChange={(e) => selectDemo(e.target.value as string)} + onChange={(event) => selectDemo(event.target.value as string)} > {Object.keys(examples || {}).map((item) => (