Function createColoredIcon
- createColoredIcon(
icon: ViraIconSvg,
colors: Partial<
Record<
| "vira-icon-stroke-color"
| "vira-icon-fill-color"
| "vira-icon-stroke-width",
string,
>,
>,
): ViraIconSvg Parameters
- icon: ViraIconSvg
- colors: Partial<
Record<
| "vira-icon-stroke-color"
| "vira-icon-fill-color"
| "vira-icon-stroke-width",
string,
>,
>
Wraps an existing icon with a specific color and outputs another icon that can be used anywhere the original icon can be used.