Completely updated React, fixed #11, (hopefully)
This commit is contained in:
41
goTorrentWebUI/node_modules/material-ui/Drawer/Drawer.d.ts
generated
vendored
41
goTorrentWebUI/node_modules/material-ui/Drawer/Drawer.d.ts
generated
vendored
@@ -1,33 +1,42 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
import { ModalProps, ModalClassKey } from '../internal/Modal';
|
||||
import { TransitionDuration } from '../internal/transition';
|
||||
import { ModalProps, ModalClassKey } from '../Modal';
|
||||
import { SlideProps } from '../transitions/Slide';
|
||||
import { PaperProps } from '../Paper';
|
||||
import { Theme } from '../styles/createMuiTheme';
|
||||
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
|
||||
|
||||
export interface DrawerProps extends StandardProps<
|
||||
ModalProps,
|
||||
DrawerClassKey
|
||||
> {
|
||||
export interface DrawerProps
|
||||
extends StandardProps<
|
||||
ModalProps & Partial<TransitionHandlerProps>,
|
||||
DrawerClassKey,
|
||||
'open' | 'children'
|
||||
> {
|
||||
anchor?: 'left' | 'top' | 'right' | 'bottom';
|
||||
children?: React.ReactNode;
|
||||
elevation?: number;
|
||||
transitionDuration?: TransitionDuration;
|
||||
ModalProps?: Partial<ModalProps>;
|
||||
open?: boolean;
|
||||
SlideProps?: SlideProps;
|
||||
PaperProps?: Partial<PaperProps>;
|
||||
SlideProps?: Partial<SlideProps>;
|
||||
theme?: Theme;
|
||||
type?: 'permanent' | 'persistent' | 'temporary';
|
||||
transitionDuration?: TransitionProps['timeout'];
|
||||
variant?: 'permanent' | 'persistent' | 'temporary';
|
||||
}
|
||||
|
||||
export type DrawerClassKey =
|
||||
| ModalClassKey
|
||||
| 'paper'
|
||||
| 'anchorLeft'
|
||||
| 'anchorRight'
|
||||
| 'anchorTop'
|
||||
| 'anchorBottom'
|
||||
| 'docked'
|
||||
| 'modal'
|
||||
;
|
||||
| 'paper'
|
||||
| 'paperAnchorLeft'
|
||||
| 'paperAnchorRight'
|
||||
| 'paperAnchorTop'
|
||||
| 'paperAnchorBottom'
|
||||
| 'paperAnchorDockedLeft'
|
||||
| 'paperAnchorDockedTop'
|
||||
| 'paperAnchorDockedRight'
|
||||
| 'paperAnchorDockedBottom'
|
||||
| 'modal';
|
||||
|
||||
declare const Drawer: React.ComponentType<DrawerProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user