mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-09-18 14:59:53 +02:00
feat: Lazy load icons
Co-authored-by: Alois Klink <alois@aloisklink.com>
This commit is contained in:
@@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user