feat: Lazy load icons

Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
Sidharth Vinod
2024-09-02 19:51:14 +05:30
parent c68ae309e5
commit 0edfab1048
10 changed files with 183 additions and 148 deletions

View File

@@ -224,17 +224,17 @@ Used to register external diagram types.
### registerIconPacks
**registerIconPacks**: (...`iconPacks`: `IconifyJSON`\[]) => `void`
**registerIconPacks**: (`iconLoaders`: `IconLoader`\[]) => `void`
#### Type declaration
▸ (`...iconPacks`): `void`
▸ (`iconLoaders`): `void`
##### Parameters
| Name | Type |
| :------------- | :--------------- |
| `...iconPacks` | `IconifyJSON`\[] |
| Name | Type |
| :------------ | :-------------- |
| `iconLoaders` | `IconLoader`\[] |
##### Returns