22 lines
496 B
TypeScript
22 lines
496 B
TypeScript
import * as React from 'react';
|
|
import { StandardProps, PropTypes } from '..';
|
|
|
|
export interface IconProps
|
|
extends StandardProps<React.HTMLAttributes<HTMLSpanElement>, IconClassKey> {
|
|
color?: PropTypes.Color | 'action' | 'disabled' | 'error';
|
|
fontSize?: boolean;
|
|
}
|
|
|
|
export type IconClassKey =
|
|
| 'root'
|
|
| 'colorSecondary'
|
|
| 'colorAction'
|
|
| 'colorDisabled'
|
|
| 'colorError'
|
|
| 'colorPrimary'
|
|
| 'fontSize';
|
|
|
|
declare const Icon: React.ComponentType<IconProps>;
|
|
|
|
export default Icon;
|