getSvgIconStyle
getSvgIconStyle(
props):Record<string,string>
Defined in: svg-icon.ts:15
Converts SvgIcon props into a key-value pairs that should be passed to the element’s style attribute.
Keys format:
- CSS variables are in snake case:
--var-name. - CSS properties are in camel case:
minWidth.
Parameters
Section titled “Parameters”SvgIcon props
Returns
Section titled “Returns”Record<string, string>
Style map