Completely updated React, fixed #11, (hopefully)
This commit is contained in:
28
goTorrentWebUI/node_modules/material-ui/Snackbar/Snackbar.d.ts
generated
vendored
28
goTorrentWebUI/node_modules/material-ui/Snackbar/Snackbar.d.ts
generated
vendored
@@ -1,28 +1,31 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps } from '..';
|
||||
import { TransitionDuration, TransitionHandlers } from '../internal/transition';
|
||||
import { SnackbarContentProps } from '.';
|
||||
import { TransitionHandlerProps, TransitionProps } from '../transitions/transition';
|
||||
|
||||
export type Origin = {
|
||||
export type SnackBarOrigin = {
|
||||
horizontal?: 'left' | 'center' | 'right' | number;
|
||||
vertical?: 'top' | 'center' | 'bottom' | number;
|
||||
};
|
||||
|
||||
export interface SnackbarProps extends StandardProps<
|
||||
React.HTMLAttributes<HTMLDivElement> & Partial<TransitionHandlers>,
|
||||
SnackbarClassKey
|
||||
> {
|
||||
export interface SnackbarProps
|
||||
extends StandardProps<
|
||||
React.HTMLAttributes<HTMLDivElement> & Partial<TransitionHandlerProps>,
|
||||
SnackbarClassKey
|
||||
> {
|
||||
action?: React.ReactElement<any> | React.ReactElement<any>[];
|
||||
anchorOrigin?: Origin;
|
||||
anchorOrigin?: SnackBarOrigin;
|
||||
autoHideDuration?: number;
|
||||
resumeHideDuration?: number;
|
||||
transitionDuration?: TransitionDuration;
|
||||
disableWindowBlurListener?: boolean;
|
||||
message?: React.ReactElement<any>;
|
||||
onClose?: (event: React.SyntheticEvent<any>, reason: string) => void;
|
||||
onMouseEnter?: React.MouseEventHandler<any>;
|
||||
onMouseLeave?: React.MouseEventHandler<any>;
|
||||
onRequestClose?: (event: React.SyntheticEvent<any>, reason: string) => void;
|
||||
open: boolean;
|
||||
SnackbarContentProps?: Object;
|
||||
resumeHideDuration?: number;
|
||||
SnackbarContentProps?: Partial<SnackbarContentProps>;
|
||||
transition?: React.ReactType;
|
||||
transitionDuration?: TransitionProps['timeout'];
|
||||
}
|
||||
|
||||
export type SnackbarClassKey =
|
||||
@@ -32,8 +35,7 @@ export type SnackbarClassKey =
|
||||
| 'anchorTopRight'
|
||||
| 'anchorBottomRight'
|
||||
| 'anchorTopLeft'
|
||||
| 'anchorBottomLeft'
|
||||
;
|
||||
| 'anchorBottomLeft';
|
||||
|
||||
declare const Snackbar: React.ComponentType<SnackbarProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user