Installation
npm install --save @types/loadicons
Summary
This package contains type definitions for loadicons (https://github.com/adobe/loadIcons).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/loadicons.
index.d.ts
type Callback = (error: Error | null, svg: SVGElement) => void;
/**
* Load SVG icon sprites safely and asynchronously
*/
declare function loadIcons(svgURL: string, callback: Callback): void;
export as namespace loadIcons;
export = loadIcons;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.