import { MakeOptional, UncapitalizeObjectKeys } from '@mui/x-date-pickers/internals'; import { StaticRangeOnlyPickerProps, UseStaticRangePickerSlotsComponent, UseStaticRangePickerSlotsComponentsProps } from '../internals/hooks/useStaticRangePicker'; import { BaseDateRangePickerProps, BaseDateRangePickerSlotsComponent, BaseDateRangePickerSlotsComponentsProps } from '../DateRangePicker/shared'; export interface StaticDateRangePickerSlotsComponent extends BaseDateRangePickerSlotsComponent, UseStaticRangePickerSlotsComponent { } export interface StaticDateRangePickerSlotsComponentsProps extends BaseDateRangePickerSlotsComponentsProps, UseStaticRangePickerSlotsComponentsProps { } export interface StaticDateRangePickerProps extends BaseDateRangePickerProps, MakeOptional { /** * Overridable components. * @default {} * @deprecated Please use `slots`. */ components?: StaticDateRangePickerSlotsComponent; /** * The props used for each component slot. * @default {} * @deprecated Please use `slotProps`. */ componentsProps?: StaticDateRangePickerSlotsComponentsProps; /** * Overridable component slots. * @default {} */ slots?: UncapitalizeObjectKeys>; /** * The props used for each component slot. * @default {} */ slotProps?: StaticDateRangePickerSlotsComponentsProps; }