import * as React from 'react'; import { OverridableStringUnion } from '@material-ui/types'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface ToolbarPropsVariantOverrides {} export type ToolbarVariantDefaults = Record<'regular' | 'dense', true>; export interface ToolbarTypeMap

{ props: P & { /** * Toolbar children, usually a mixture of `IconButton`, `Button` and `Typography`. */ children?: React.ReactNode; /** * Override or extend the styles applied to the component. */ classes?: { /** Styles applied to the root element. */ root?: string; /** Styles applied to the root element unless `disableGutters={true}`. */ gutters?: string; /** Styles applied to the root element if `variant="regular"`. */ regular?: string; /** Styles applied to the root element if `variant="dense"`. */ dense?: string; }; /** * If `true`, disables gutter padding. * @default false */ disableGutters?: boolean; /** * The variant to use. * @default 'regular' */ variant?: OverridableStringUnion; }; defaultComponent: D; } /** * * Demos: * * - [App Bar](https://material-ui.com/components/app-bar/) * * API: * * - [Toolbar API](https://material-ui.com/api/toolbar/) */ declare const Toolbar: OverridableComponent; export type ToolbarClassKey = keyof NonNullable; export type ToolbarProps< D extends React.ElementType = ToolbarTypeMap['defaultComponent'], P = {} > = OverrideProps, D>; export default Toolbar;