diff --git a/.changeset/five-tigers-run.md b/.changeset/five-tigers-run.md new file mode 100644 index 0000000000..1c9d498078 --- /dev/null +++ b/.changeset/five-tigers-run.md @@ -0,0 +1,6 @@ +--- +"@comet/admin-theme": minor +--- + +Change `DataGrid`'s `noRowsLabel` from "No rows" to "No results found" + diff --git a/packages/admin/admin-theme/src/componentsTheme/MuiDataGrid.tsx b/packages/admin/admin-theme/src/componentsTheme/MuiDataGrid.tsx index 8dd59ce410..be87696616 100644 --- a/packages/admin/admin-theme/src/componentsTheme/MuiDataGrid.tsx +++ b/packages/admin/admin-theme/src/componentsTheme/MuiDataGrid.tsx @@ -34,6 +34,9 @@ export const getMuiDataGrid: GetMuiComponentTheme<"MuiDataGrid"> = (component, { ColumnMenuIcon: (props: SvgIconProps) => , ...component?.defaultProps?.components, }, + localeText: { + noRowsLabel: "No results found", + }, ...component?.defaultProps, }, styleOverrides: mergeOverrideStyles<"MuiDataGrid">(component?.styleOverrides, {