Completely updated React, fixed #11, (hopefully)

This commit is contained in:
2018-03-04 19:11:49 -05:00
parent 6e0afd6e2a
commit 34e5f5139a
13674 changed files with 333464 additions and 473223 deletions

View File

@@ -1,17 +1,23 @@
import * as React from 'react';
import { StandardProps } from '..';
import { StandardProps, PropTypes } from '..';
export interface SvgIconProps extends StandardProps<
React.SVGProps<SVGSVGElement>,
SvgIconClassKey
> {
export interface SvgIconProps
extends StandardProps<React.SVGProps<SVGSVGElement>, SvgIconClassKey, 'fontSize'> {
color?: PropTypes.Color | 'action' | 'disabled' | 'error';
fontSize?: boolean;
nativeColor?: string;
titleAccess?: string;
viewBox?: string;
}
export type SvgIconClassKey =
| 'root'
;
| 'colorSecondary'
| 'colorAction'
| 'colorDisabled'
| 'colorError'
| 'colorPrimary'
| 'fontSize';
declare const SvgIcon: React.ComponentType<SvgIconProps>;