addIcon addIcon() function Adds an icon to the library. Signature: export function addIcon(iconId: string, svgContent: string): void; Parameters ParameterTypeDescriptioniconIdstringthe icon IDsvgContentstringthe content of the SVG. Returns: void