@mui/x-data-grid-pro
Version:
The Pro plan edition of the MUI X Data Grid components.
26 lines • 1.12 kB
TypeScript
import * as React from 'react';
import { GridFilterItem, GridFilterOperator, GridColDef } from '@mui/x-data-grid';
import { PinnedColumnPosition, GridStateColDef } from '@mui/x-data-grid/internals';
export interface GridRenderHeaderFilterProps extends GridHeaderFilterCellProps {
inputRef: React.RefObject<unknown>;
}
export interface GridHeaderFilterCellProps extends Pick<GridStateColDef, 'headerClassName'> {
colIndex: number;
height: number;
sortIndex?: number;
hasFocus?: boolean;
tabIndex: 0 | -1;
width: number;
colDef: GridColDef;
headerFilterMenuRef: React.RefObject<HTMLButtonElement | null>;
item: GridFilterItem;
showClearIcon?: boolean;
InputComponentProps: GridFilterOperator['InputComponentProps'];
pinnedPosition?: PinnedColumnPosition;
pinnedOffset?: number;
style?: React.CSSProperties;
showLeftBorder: boolean;
showRightBorder: boolean;
}
declare const Memoized: React.ForwardRefExoticComponent<GridHeaderFilterCellProps> | React.ForwardRefExoticComponent<GridHeaderFilterCellProps & React.RefAttributes<HTMLDivElement>>;
export { Memoized as GridHeaderFilterCell };