import * as React from 'react'; import { PropTypes } from '..'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface IconTypeMap

{ props: P & { color?: PropTypes.Color | 'action' | 'disabled' | 'error'; fontSize?: 'inherit' | 'default' | 'small' | 'large'; }; defaultComponent: D; classKey: IconClassKey; } /** * * Demos: * * - [Icons](https://material-ui.com/components/icons/) * - [Material Icons](https://material-ui.com/components/material-icons/) * * API: * * - [Icon API](https://material-ui.com/api/icon/) */ declare const Icon: OverridableComponent; export type IconClassKey = | 'root' | 'colorSecondary' | 'colorAction' | 'colorDisabled' | 'colorError' | 'colorPrimary' | 'fontSizeInherit' | 'fontSizeSmall' | 'fontSizeLarge'; export type IconProps< D extends React.ElementType = IconTypeMap['defaultComponent'], P = {} > = OverrideProps, D>; export default Icon;