addIcon()
Function: addIcon()
Section titled “Function: addIcon()”addIcon(
iconId,svgContent):void
Defined in: icons/index.ts:356
Adds an icon to the library.
Parameters
Section titled “Parameters”iconId
Section titled “iconId”string
The icon ID
svgContent
Section titled “svgContent”string
The content of the SVG.
Returns
Section titled “Returns”void