Completely updated React, fixed #11, (hopefully)
This commit is contained in:
26
goTorrentWebUI/node_modules/material-ui/Button/Button.d.ts
generated
vendored
26
goTorrentWebUI/node_modules/material-ui/Button/Button.d.ts
generated
vendored
@@ -2,20 +2,18 @@ import * as React from 'react';
|
||||
import { StandardProps, PropTypes } from '..';
|
||||
import { ButtonBaseProps, ButtonBaseClassKey } from '../ButtonBase';
|
||||
|
||||
export interface ButtonProps extends StandardProps<
|
||||
ButtonBaseProps,
|
||||
ButtonClassKey
|
||||
> {
|
||||
color?: PropTypes.Color | 'contrast';
|
||||
component?: React.ReactType;
|
||||
dense?: boolean;
|
||||
export interface ButtonProps extends StandardProps<ButtonBaseProps, ButtonClassKey, 'component'> {
|
||||
color?: PropTypes.Color;
|
||||
component?: React.ReactType<ButtonProps>;
|
||||
disabled?: boolean;
|
||||
disableFocusRipple?: boolean;
|
||||
disableRipple?: boolean;
|
||||
fab?: boolean;
|
||||
fullWidth?: boolean;
|
||||
href?: string;
|
||||
raised?: boolean;
|
||||
mini?: boolean;
|
||||
size?: 'small' | 'medium' | 'large';
|
||||
type?: string;
|
||||
variant?: 'flat' | 'raised' | 'fab';
|
||||
}
|
||||
|
||||
export type ButtonClassKey =
|
||||
@@ -23,17 +21,15 @@ export type ButtonClassKey =
|
||||
| 'dense'
|
||||
| 'label'
|
||||
| 'flatPrimary'
|
||||
| 'flatAccent'
|
||||
| 'flatContrast'
|
||||
| 'flatSecondary'
|
||||
| 'colorInherit'
|
||||
| 'raised'
|
||||
| 'keyboardFocused'
|
||||
| 'raisedPrimary'
|
||||
| 'raisedAccent'
|
||||
| 'raisedContrast'
|
||||
| 'raisedSecondary'
|
||||
| 'fab'
|
||||
;
|
||||
| 'fullWidth';
|
||||
|
||||
declare const Button: React.ComponentType<ButtonProps>;
|
||||
|
||||
export default Button
|
||||
export default Button;
|
||||
|
Reference in New Issue
Block a user