Skip to content

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.

string

The icon ID

string

The content of the SVG.

void