Completely updated React, fixed #11, (hopefully)
This commit is contained in:
27
goTorrentWebUI/node_modules/material-ui/Dialog/Dialog.d.ts
generated
vendored
27
goTorrentWebUI/node_modules/material-ui/Dialog/Dialog.d.ts
generated
vendored
@@ -1,24 +1,18 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
import { ModalProps, ModalClassKey } from '../internal/Modal';
|
||||
import { TransitionDuration } from '../internal/transition';
|
||||
import { PaperProps } from '../Paper';
|
||||
import { ModalProps, ModalClassKey } from '../Modal';
|
||||
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
|
||||
|
||||
export interface DialogProps extends StandardProps<
|
||||
ModalProps,
|
||||
DialogClassKey,
|
||||
'onBackdropClick' | 'onEscapeKeyUp'
|
||||
> {
|
||||
export interface DialogProps
|
||||
extends StandardProps<ModalProps & Partial<TransitionHandlerProps>, DialogClassKey, 'children'> {
|
||||
children?: React.ReactNode;
|
||||
fullScreen?: boolean;
|
||||
ignoreBackdropClick?: boolean;
|
||||
ignoreEscapeKeyUp?: boolean;
|
||||
transitionDuration?: TransitionDuration;
|
||||
maxWidth?: 'xs' | 'sm' | 'md';
|
||||
fullWidth?: boolean;
|
||||
onBackdropClick?: Function;
|
||||
onEscapeKeyUp?: Function;
|
||||
onRequestClose?: React.EventHandler<any>;
|
||||
open?: boolean;
|
||||
maxWidth?: 'xs' | 'sm' | 'md' | false;
|
||||
PaperProps?: Partial<PaperProps>;
|
||||
transition?: React.ReactType;
|
||||
transitionDuration?: TransitionProps['timeout'];
|
||||
}
|
||||
|
||||
export type DialogClassKey =
|
||||
@@ -29,8 +23,7 @@ export type DialogClassKey =
|
||||
| 'paperWidthSm'
|
||||
| 'paperWidthMd'
|
||||
| 'fullWidth'
|
||||
| 'fullScreen'
|
||||
;
|
||||
| 'fullScreen';
|
||||
|
||||
declare const Dialog: React.ComponentType<DialogProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user