SvgIconStyleProps
Defined in: types.ts:19
Style-related props of <SvgIcon> component
Extended by
Section titled “Extended by”Properties
Section titled “Properties”color?
Section titled “color?”
optionalcolor:string
Defined in: types.ts:40
Icon color.
Should be a valid CSS color value or a variable, i.e. #ff0000, red, var(--icon-color).
If undefined is passed, color won’t be changed.
Default
Section titled “Default”undefinedcolorTransition?
Section titled “colorTransition?”
optionalcolorTransition:string
Defined in: types.ts:49
Icon color transition. Should contain only timing and easing functions.
For example, if you want to set transition: color 0.3s ease-out;, you should pass only 0.3s ease-out.
Default
Section titled “Default”"0.3s linear"
optionalsize:string
Defined in: types.ts:29
Icon size.
Should be a valid CSS unit value or a variable, i.e. 10px, 0.1em, var(--icon-size).
If undefined is passed, size won’t be changed.
Default
Section titled “Default”undefined