@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
19 lines (18 loc) • 621 B
TypeScript
import { IconDefinition } from "./types.js";
//#region src/icons/cache.d.ts
/**
* Holds the collection of selected predefined icons. Can be extended with more icons by the consumer.
* When using icons, they will be checked in library before loading them from CDN.
*/
declare class IconsCache {
cache: Map<string, IconDefinition>;
add: (...icons: IconDefinition[]) => void;
get: (name: string) => IconDefinition | undefined;
has: (name: string) => boolean;
init: () => void;
reset: () => void;
}
declare const cache: IconsCache;
//#endregion
export { cache as default };
//# sourceMappingURL=cache.d.ts.map