diff --git a/packages/admin/admin/src/table/filterbar/filterBarButton/FilterBarButton.tsx b/packages/admin/admin/src/table/filterbar/filterBarButton/FilterBarButton.tsx index 4f4c4e072b0..44b75c79f24 100644 --- a/packages/admin/admin/src/table/filterbar/filterBarButton/FilterBarButton.tsx +++ b/packages/admin/admin/src/table/filterbar/filterBarButton/FilterBarButton.tsx @@ -80,7 +80,10 @@ export interface FilterBarButtonProps extends ThemedComponentBaseProps<{ root: t openPopover?: boolean; } -export function FilterBarButtonWithStyles(inProps: FilterBarButtonProps) { +/** + * @deprecated Use MUI X Data Grid in combination with `useDataGridRemote` instead. + */ +export function FilterBarButton(inProps: FilterBarButtonProps) { const { children, dirtyFieldsBadge, @@ -111,11 +114,6 @@ export function FilterBarButtonWithStyles(inProps: FilterBarButtonProps) { ); } -/** - * @deprecated Use MUI X Data Grid in combination with `useDataGridRemote` instead. - */ -export { FilterBarButtonWithStyles as FilterBarButton }; - declare module "@mui/material/styles" { interface ComponentNameToClassKey { CometAdminFilterBarButton: FilterBarButtonClassKey;