@mui/x-date-pickers-pro
Version:
The Pro plan edition of the MUI X Date and Time Picker components.
30 lines • 1.05 kB
TypeScript
import * as React from 'react';
import { ExportedBaseTabsProps } from '@mui/x-date-pickers/internals';
import { DateTimeRangePickerTabsClasses } from "./dateTimeRangePickerTabsClasses.js";
export interface ExportedDateTimeRangePickerTabsProps extends ExportedBaseTabsProps {
/**
* Toggles visibility of the tabs allowing view switching.
* @default `window.innerHeight < 667` for `DesktopDateTimeRangePicker` and `MobileDateTimeRangePicker`
*/
hidden?: boolean;
/**
* Date tab icon.
* @default DateRangeIcon
*/
dateIcon?: React.ReactElement<any>;
/**
* Time tab icon.
* @default TimeIcon
*/
timeIcon?: React.ReactElement<any>;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<DateTimeRangePickerTabsClasses>;
}
export interface DateTimeRangePickerTabsProps extends ExportedDateTimeRangePickerTabsProps {}
declare const DateTimeRangePickerTabs: {
(inProps: DateTimeRangePickerTabsProps): React.JSX.Element | null;
propTypes: any;
};
export { DateTimeRangePickerTabs };