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