Completely updated React, fixed #11, (hopefully)
This commit is contained in:
16
goTorrentWebUI/node_modules/material-ui/Badge/Badge.d.ts
generated
vendored
16
goTorrentWebUI/node_modules/material-ui/Badge/Badge.d.ts
generated
vendored
@@ -1,21 +1,15 @@
|
||||
import * as React from 'react';
|
||||
import { StandardProps, PropTypes } from '..';
|
||||
|
||||
export interface BadgeProps extends StandardProps<
|
||||
React.HTMLAttributes<HTMLDivElement>,
|
||||
BadgeClassKey
|
||||
> {
|
||||
export interface BadgeProps
|
||||
extends StandardProps<React.HTMLAttributes<HTMLDivElement>, BadgeClassKey> {
|
||||
badgeContent: React.ReactNode;
|
||||
children: React.ReactNode;
|
||||
color?: PropTypes.Color;
|
||||
color?: PropTypes.Color | 'error';
|
||||
component?: React.ReactType<BadgeProps>;
|
||||
}
|
||||
|
||||
export type BadgeClassKey =
|
||||
| 'root'
|
||||
| 'badge'
|
||||
| 'colorPrimary'
|
||||
| 'colorAccent'
|
||||
;
|
||||
export type BadgeClassKey = 'root' | 'badge' | 'colorPrimary' | 'colorSecondary';
|
||||
|
||||
declare const Badge: React.ComponentType<BadgeProps>;
|
||||
|
||||
|
Reference in New Issue
Block a user