registerIcon
Registers an icon by fetching it from a URL.
Signature
registerIcon(name: string, url: string, collection: string): Promise<void> Parameters
- name:
stringThe unique name for the icon
- url:
stringThe URL to fetch the SVG icon from
- collection:
stringThe collection to register the icon in (default: 'default')
Returns
Promise<void>
A promise that resolves when the icon is registered