registerIconFromText
Registers an icon from SVG text content.
Signature
registerIconFromText(name: string, iconText: string, collection: string): void Defined in src/components/icon/icon.registry.ts:282, src/components/icon/icon.registry.ts:311, src/components/icon/icon.registry.ts:317
Parameters
- name:
stringThe unique name for the icon
- iconText:
stringThe SVG markup as a string
- collection:
stringThe collection to register the icon in (default:
'default')
Returns
void