UNPKG

@mui/x-date-pickers

Version:

The community edition of the Date and Time Picker components (MUI X).

27 lines 757 B
import * as React from 'react'; import { SxProps } from '@mui/system'; import { Theme } from '@mui/material/styles'; export interface BaseToolbarProps extends ExportedBaseToolbarProps { titleId?: string; } export interface ExportedBaseToolbarProps { /** * Toolbar date format. */ toolbarFormat?: string; /** * Toolbar value placeholder—it is displayed when the value is empty. * @default "––" */ toolbarPlaceholder?: React.ReactNode; className?: string; /** * If `true`, show the toolbar even in desktop mode. * @default `true` for Desktop, `false` for Mobile. */ hidden?: boolean; /** * The system prop that allows defining system overrides as well as additional CSS styles. */ sx?: SxProps<Theme>; }