@types/loadicons
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/loadicons

Weekly Downloads

48

Version

1.0.2

License

MIT

Unpacked Size

3.06 kB

Total Files

5

Last publish

Collaborators

  • types