getCustomIcon

external fun getCustomIcon(custom: dynamic, collection: String, icon: String, options: IconifyLoaderOptions? = definedExternally): Promise<String?>

Get an icon from an inline collection or a custom loader function.

The result is an SVG string with customisations and extra properties applied.

Returns undefined when the icon is missing.