Skip to content

Commit

Permalink
rename FilterBarButton function
Browse files Browse the repository at this point in the history
  • Loading branch information
juliawegmayr committed Jan 29, 2024
1 parent cffa77c commit c015304
Showing 1 changed file with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c015304

Please sign in to comment.