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:264 , src/components/icon/icon.registry.ts:293 , src/components/icon/icon.registry.ts:299
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