diff --git a/packages/grid/_modules_/grid/models/params/gridSlotComponentProps.ts b/packages/grid/_modules_/grid/models/params/gridSlotComponentProps.ts deleted file mode 100644 index c1beccd9cf931..0000000000000 --- a/packages/grid/_modules_/grid/models/params/gridSlotComponentProps.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { GridState } from '../gridState'; -import { GridApiRef } from '../api/gridApiRef'; -import { GridColumns } from '../colDef/gridColDef'; -import { GridRootContainerRef } from '../gridRootContainerRef'; -import { GridRowModel } from '../gridRows'; - -/** - * Object passed as React prop in the component override. - */ -export interface GridSlotComponentProps { - /** - * The GridState object containing the current grid state. - */ - state: GridState; - /** - * The full set of rows. - */ - rows: GridRowModel[]; - /** - * The full set of columns. - */ - columns: GridColumns; - /** - * GridApiRef that let you manipulate the grid. - */ - apiRef: GridApiRef; - /** - * The ref of the inner div Element of the grid. - */ - rootElement: GridRootContainerRef; -} diff --git a/packages/grid/_modules_/grid/models/params/index.ts b/packages/grid/_modules_/grid/models/params/index.ts index f4d34f5e8c803..9a6441f45e0b4 100644 --- a/packages/grid/_modules_/grid/models/params/index.ts +++ b/packages/grid/_modules_/grid/models/params/index.ts @@ -7,7 +7,6 @@ export * from './gridEditCellParams'; export * from './gridRowParams'; export * from './gridRowScrollEndParams'; export * from './gridScrollParams'; -export * from './gridSlotComponentProps'; export * from './gridSortModelParams'; export * from './gridStateChangeParams'; export * from './gridViewportRowsChangeParams'; diff --git a/packages/storybook/src/documentation/pages/demos/error/serverErrorState.demo.tsx b/packages/storybook/src/documentation/pages/demos/error/serverErrorState.demo.tsx index 4cf68fc362682..26098229771a2 100644 --- a/packages/storybook/src/documentation/pages/demos/error/serverErrorState.demo.tsx +++ b/packages/storybook/src/documentation/pages/demos/error/serverErrorState.demo.tsx @@ -25,7 +25,7 @@ export default function ServerErrorStateDemo() { setLoading(true); loadServerRows().catch((serverError) => { setLoading(false); - setError({ message: `An error occured! Details: ${serverError.message}` }); + setError({ message: `An error occurred! Details: ${serverError.message}` }); }); }, []); diff --git a/scripts/sizeSnapshot/create.js b/scripts/sizeSnapshot/create.js index 36099518ee1d5..4551d54ec5035 100644 --- a/scripts/sizeSnapshot/create.js +++ b/scripts/sizeSnapshot/create.js @@ -29,7 +29,7 @@ async function getWebpackSizes(webpackEnvironment) { errors: true, }); throw new Error( - `The following errors occured during bundling of ${Object.keys( + `The following errors occurred during bundling of ${Object.keys( entrypoints, )} with webpack: \n${errors.join('\n')}`, );