import { PropsWithChildren, SVGAttributes, default as React } from 'react'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; import { Status } from '../../lib/types/props'; type SvgAttributeProps = SVGAttributes; declare const iconColors: readonly ["neutral", "blue", "violet", "teal", "lilac", "info", "success", "warning", "danger", "unavailable", "dark", "light", "dark-static", "light-static"]; type IconColor = (typeof iconColors)[number]; type IconWithCustomColor = IconColor | (string & {}); export interface IconProps extends PropsWithChildren>, FlowComponentProps { /** The size of the icon. @default "m" */ size?: "s" | "m" | "l"; /** * The color of the icon. Besides the Flow colors, any custom CSS color is * supported. Inherits the surrounding text color when unset. */ color?: IconWithCustomColor; /** * The elements status. * * @deprecated Use `color` instead. */ status?: Status; } /** @flr-generate all */ export declare const Icon: React.FunctionComponent>; export default Icon;