UNPKG

@mui/x-data-grid

Version:

The Community plan edition of the Data Grid components (MUI X).

28 lines 1.26 kB
import * as React from 'react'; import { RenderProp } from "../../hooks/utils/useGridComponentRenderer.js"; export type ToolbarProps = React.HTMLAttributes<HTMLDivElement> & { /** * A function to customize rendering of the component. */ render?: RenderProp<React.ComponentProps<typeof ToolbarRoot>>; }; declare const ToolbarRoot: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/system").Theme>, Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, keyof React.ClassAttributes<HTMLDivElement> | keyof React.HTMLAttributes<HTMLDivElement>>, {}>; /** * The top level Toolbar component that provides context to child components. * It renders a styled `<div />` element. * * Demos: * * - [Toolbar](https://mui.com/x/react-data-grid/components/toolbar/) * * API: * * - [Toolbar API](https://mui.com/x/api/data-grid/toolbar/) */ declare const Toolbar: React.ForwardRefExoticComponent<ToolbarProps> | React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & { /** * A function to customize rendering of the component. */ render?: RenderProp<React.ComponentProps<typeof ToolbarRoot>>; } & React.RefAttributes<HTMLDivElement>>; export { Toolbar };