getSvgIconStyle
getSvgIconStyle(
props):Record<string,string>
Defined in: svg-icon.ts:42
Converts SvgIcon props into a “CSS variable -> value” pairs that should be passed to the element’s style
attribute.
Example value:
{ "--size": "48rem", "--color": "red",}Parameters
Section titled “Parameters”SvgIcon props
Returns
Section titled “Returns”Record<string, string>
Icon style