getIconsTree

external fun getIconsTree(data: IconifyJSON, names: Array<String>? = definedExternally): dynamic

Parent icons for each icon.

The result is keyed by icon name; each value lists the direct parent first, followed by its parents. Icons without a parent map to an empty list. Missing icons and aliases with a broken parent chain map to null.

Parameters

names

only resolve these icons; defaults to all icons and aliases.