import * as React from 'react'; import { PropTypes } from '..'; import { OverridableComponent, OverrideProps } from '../OverridableComponent'; export interface IconTypeMap
{
props: P & {
/**
* The base class applied to the icon. Defaults to 'material-icons', but can be changed to any
* other base class that suits the icon font you're using (e.g. material-icons-rounded, fas, etc).
* @default 'material-icons'
*/
baseClassName?: string;
/**
* The name of the icon font ligature.
*/
children?: React.ReactNode;
/**
* Override or extend the styles applied to the component.
*/
classes?: {
/** Styles applied to the root element. */
root?: string;
/** Styles applied to the root element if `color="primary"`. */
colorPrimary?: string;
/** Styles applied to the root element if `color="secondary"`. */
colorSecondary?: string;
/** Styles applied to the root element if `color="action"`. */
colorAction?: string;
/** Styles applied to the root element if `color="error"`. */
colorError?: string;
/** Styles applied to the root element if `color="disabled"`. */
colorDisabled?: string;
/** Styles applied to the root element if `fontSize="inherit"`. */
fontSizeInherit?: string;
/** Styles applied to the root element if `fontSize="small"`. */
fontSizeSmall?: string;
/** Styles applied to the root element if `fontSize="large"`. */
fontSizeLarge?: string;
};
/**
* The color of the component. It supports those theme colors that make sense for this component.
* @default 'inherit'
*/
color?: Exclude