UNPKG

@mui/x-date-pickers

Version:

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

16 lines (15 loc) 670 B
import { FieldSection, MuiPickersAdapter, PickerValidDate } from '../../../models'; import { PickersLocaleText } from '../../../locales'; interface BuildSectionsFromFormatParams<TDate extends PickerValidDate> { utils: MuiPickersAdapter<TDate>; format: string; formatDensity: 'dense' | 'spacious'; isRtl: boolean; shouldRespectLeadingZeros: boolean; localeText: PickersLocaleText<TDate>; localizedDigits: string[]; date: TDate | null; enableAccessibleFieldDOMStructure: boolean; } export declare const buildSectionsFromFormat: <TDate extends PickerValidDate>(params: BuildSectionsFromFormatParams<TDate>) => FieldSection[]; export {};