addIcon
export function addIcon(iconId: string, svgContent: string): void;
Adds an icon to the library
#
ParametersParameter | Description |
---|---|
iconId | the icon ID |
svgContent | the content of the SVG, without the <svg>. Must fit viewBox="0 0 100 100". |
export function addIcon(iconId: string, svgContent: string): void;
Adds an icon to the library
Parameter | Description |
---|---|
iconId | the icon ID |
svgContent | the content of the SVG, without the <svg>. Must fit viewBox="0 0 100 100". |