addIcon()
API reference uses a reviewed source snapshot. Source links open the published source; unverified line locations are omitted.
addIcon(
iconId,svgContent):void
Defined in: icons/index.ts:377
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