@mui/x-date-pickers-pro
Version:
The Pro plan edition of the MUI X Date and Time Picker components.
22 lines • 1.06 kB
text/typescript
import { DesktopTimeRangePickerProps, DesktopTimeRangePickerSlots, DesktopTimeRangePickerSlotProps } from "../DesktopTimeRangePicker/index.mjs";
import { MobileTimeRangePickerProps, MobileTimeRangePickerSlots, MobileTimeRangePickerSlotProps } from "../MobileTimeRangePicker/index.mjs";
export interface TimeRangePickerSlots extends DesktopTimeRangePickerSlots, MobileTimeRangePickerSlots {}
export interface TimeRangePickerSlotProps extends DesktopTimeRangePickerSlotProps, MobileTimeRangePickerSlotProps {}
export interface TimeRangePickerProps extends DesktopTimeRangePickerProps, Omit<MobileTimeRangePickerProps, 'views'> {
/**
* CSS media query when `Mobile` mode will be changed to `Desktop`.
* @default '@media (pointer: fine)'
* @example '@media (min-width: 720px)' or theme.breakpoints.up("sm")
*/
desktopModeMediaQuery?: string;
/**
* Overridable component slots.
* @default {}
*/
slots?: TimeRangePickerSlots;
/**
* The props used for each component slot.
* @default {}
*/
slotProps?: TimeRangePickerSlotProps;
}