addIcon() function
Adds an icon to the library.
Signature:
export function addIcon(iconId: string, svgContent: string): void;
Parameters
Parameter | Type | Description |
---|---|---|
iconId | string | the icon ID |
svgContent | string | the content of the SVG. |
Returns:
void