UNPKG

@mui/x-date-pickers-pro

Version:

The Pro plan edition of the MUI X Date and Time Picker components.

17 lines 943 B
import { MakeOptional } from '@mui/x-internals/types'; import { UseMobileRangePickerSlots, UseMobileRangePickerSlotProps, MobileRangeOnlyPickerProps } from "../internals/hooks/useMobileRangePicker/index.mjs"; import { BaseTimeRangePickerProps, BaseTimeRangePickerSlots, BaseTimeRangePickerSlotProps } from "../TimeRangePicker/shared.mjs"; export interface MobileTimeRangePickerSlots extends BaseTimeRangePickerSlots, MakeOptional<UseMobileRangePickerSlots, 'field'> {} export interface MobileTimeRangePickerSlotProps extends BaseTimeRangePickerSlotProps, Omit<UseMobileRangePickerSlotProps, 'tabs' | 'toolbar'> {} export interface MobileTimeRangePickerProps extends BaseTimeRangePickerProps, MobileRangeOnlyPickerProps { /** * Overridable component slots. * @default {} */ slots?: MobileTimeRangePickerSlots; /** * The props used for each component slot. * @default {} */ slotProps?: MobileTimeRangePickerSlotProps; }