loadIcon
external fun loadIcon(collection: String, icon: String, options: IconifyLoaderOptions? = definedExternally): Promise<String?>
Load an icon from a custom collection registered in IconifyLoaderOptions.customCollections.
The loader does not fetch anything: it only uses inline collections and custom loader functions. Returns undefined when the collection is not registered or the icon is missing.