1
0
Fork 0
react-playground/node_modules/@mui/x-date-pickers/esm/internals/components/PickersModalDialog.d.ts
Techognito fc0f69dacb Added Statistics calculation
Statistics now show calculated values
2025-09-04 17:30:00 +02:00

48 lines
No EOL
1.7 KiB
TypeScript

import * as React from 'react';
import { DialogProps as MuiDialogProps } from '@mui/material/Dialog';
import { PaperProps as MuiPaperProps } from '@mui/material/Paper';
import { TransitionProps as MuiTransitionProps } from '@mui/material/transitions';
export interface PickersModalDialogSlots {
/**
* Custom component for the dialog inside which the views are rendered on mobile.
* @default PickersModalDialogRoot
*/
dialog?: React.ElementType<MuiDialogProps>;
/**
* Custom component for the paper rendered inside the mobile picker's Dialog.
* @default Paper from '@mui/material'.
*/
mobilePaper?: React.JSXElementConstructor<MuiPaperProps>;
/**
* Custom component for the mobile dialog [Transition](https://mui.com/material-ui/transitions/).
* @default Fade from '@mui/material'.
*/
mobileTransition?: React.JSXElementConstructor<MuiTransitionProps>;
}
export interface PickersModalDialogSlotProps {
/**
* Props passed down to the [`Dialog`](https://mui.com/material-ui/api/dialog/) component.
*/
dialog?: Partial<MuiDialogProps>;
/**
* Props passed down to the mobile [Paper](https://mui.com/material-ui/api/paper/) component.
*/
mobilePaper?: Partial<MuiPaperProps>;
/**
* Props passed down to the mobile [Transition](https://mui.com/material-ui/transitions/) component.
*/
mobileTransition?: Partial<MuiTransitionProps>;
}
export interface PickersModalDialogProps {
/**
* Overridable component slots.
* @default {}
*/
slots?: PickersModalDialogSlots;
/**
* The props used for each component slot.
* @default {}
*/
slotProps?: PickersModalDialogSlotProps;
}
export declare function PickersModalDialog(props: React.PropsWithChildren<PickersModalDialogProps>): React.JSX.Element;