Files
goTorrent/goTorrentWebUI/node_modules/material-ui/Dialog/Dialog.d.ts

31 lines
858 B
TypeScript

import * as React from 'react';
import { StandardProps } from '..';
import { PaperProps } from '../Paper';
import { ModalProps, ModalClassKey } from '../Modal';
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
export interface DialogProps
extends StandardProps<ModalProps & Partial<TransitionHandlerProps>, DialogClassKey, 'children'> {
children?: React.ReactNode;
fullScreen?: boolean;
fullWidth?: boolean;
maxWidth?: 'xs' | 'sm' | 'md' | false;
PaperProps?: Partial<PaperProps>;
transition?: React.ReactType;
transitionDuration?: TransitionProps['timeout'];
}
export type DialogClassKey =
| ModalClassKey
| 'root'
| 'paper'
| 'paperWidthXs'
| 'paperWidthSm'
| 'paperWidthMd'
| 'fullWidth'
| 'fullScreen';
declare const Dialog: React.ComponentType<DialogProps>;
export default Dialog;