Function: svgPathToIconValue()
ts
function svgPathToIconValue(
d: string,
width?: string | number,
height?: string | number,
): IconValue;Converts an SVG path string to an IconValue that can be used in Vuetify components.
Parameters
| Parameter | Type | Description |
|---|---|---|
d | string | The SVG path data string |
width? | string | number | Optional width for the icon |
height? | string | number | Optional height for the icon |
Returns
An IconValue that can be passed to Vuetify icon props