import { OverrideProps } from '@mui/types'; import { CreateSlotsAndSlotProps, SlotCommonProps, SlotProps } from '../../types/slot'; export type PickerViewFooterSlot = 'root'; export interface PickerViewFooterSlots { /** * The component that renders the root. * @default 'div' */ root?: React.ElementType; } export type PickerViewFooterSlotsAndSlotProps = CreateSlotsAndSlotProps; }>; export interface PickerViewFooterTypeMap

{ props: P & PickerViewFooterSlotsAndSlotProps & { /** * Callback fired when the clear button is clicked. */ onClear?: () => void; /** * Callback fired when the cancel button is clicked. */ onCancel?: () => void; /** * Callback fired when the accept/OK button is clicked. */ onAccept?: () => void; /** * If `true`, the component is disabled. * @default false */ disabled?: boolean; /** * Text to display on the clear button. * @default 'Clear' */ clearText?: string; /** * Text to display on the cancel button. * @default 'Cancel' */ cancelText?: string; /** * Text to display on the OK button. * @default 'OK' */ okText?: string; /** * If `true`, the component is in a fullScreen mode. * @default false */ fullScreen?: boolean; }; defaultComponent: D; } export type PickerViewFooterProps = OverrideProps, D>; export interface PickerViewFooterOwnerState extends PickerViewFooterProps { }