10 lines
393 B
TypeScript
10 lines
393 B
TypeScript
import { ExtendedIconifyIcon, IconifyJSON } from "@iconify/types";
|
|
/**
|
|
* Get icon data, using prepared aliases tree
|
|
*/
|
|
declare function internalGetIconData(data: IconifyJSON, name: string, tree: string[]): ExtendedIconifyIcon;
|
|
/**
|
|
* Get data for icon
|
|
*/
|
|
declare function getIconData(data: IconifyJSON, name: string): ExtendedIconifyIcon | null;
|
|
export { getIconData, internalGetIconData }; |