import { SizeKeyword } from '../../shared/scales'; import { AnyString } from '../../shared/utils'; import { GlobalProps } from '../../shared/global'; import { IconType } from '../../shared/icons'; import { ToneKeyword } from '../../shared/theming'; import { ColorKeyword } from '../../shared/scales'; export interface IconProps extends GlobalProps { /** * Sets the tone of the Icon, based on the intention of the information being conveyed. * * @default 'auto' */ tone?: ToneKeyword; /** * Modify the color to be more or less intense. * * @default 'base' */ color?: ColorKeyword; /** * Adjusts the size of the icon. * * @default 'base' */ size?: SizeKeyword; type?: IconType | AnyString; }