24 lines
1.0 KiB
TypeScript
24 lines
1.0 KiB
TypeScript
import type { GridToolbarContainerProps } from "../containers/GridToolbarContainer.js";
|
|
import type { GridToolbarExportProps } from "./GridToolbarExport.js";
|
|
import type { GridToolbarQuickFilterProps } from "./GridToolbarQuickFilter.js";
|
|
export interface GridToolbarProps extends GridToolbarContainerProps, GridToolbarExportProps {
|
|
/**
|
|
* Show the history controls (undo/redo buttons).
|
|
* @default true
|
|
*/
|
|
showHistoryControls?: boolean;
|
|
/**
|
|
* Show the quick filter component.
|
|
* @default true
|
|
*/
|
|
showQuickFilter?: boolean;
|
|
/**
|
|
* Props passed to the quick filter component.
|
|
*/
|
|
quickFilterProps?: GridToolbarQuickFilterProps;
|
|
}
|
|
/**
|
|
* @deprecated Use the `showToolbar` prop to show the default toolbar instead. This component will be removed in a future major release.
|
|
*/
|
|
declare const GridToolbar: import("react").ForwardRefExoticComponent<GridToolbarProps> | import("react").ForwardRefExoticComponent<GridToolbarProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
export { GridToolbar }; |