react-inlinesvg
Version:
An SVG loader for React
10 lines (8 loc) • 786 B
TypeScript
import * as react from 'react';
import { ReactElement } from 'react';
import { C as CacheStore, P as Props } from './cache-NLB60kAd.js';
export { E as ErrorCallback, F as FetchError, L as LoadCallback, a as PreProcessorCallback, S as Simplify, b as State, c as Status, d as StorageItem } from './cache-NLB60kAd.js';
declare const cacheStore: CacheStore;
declare function InlineSVG(props: Props): string | number | bigint | boolean | ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | Promise<string | number | bigint | boolean | react.ReactPortal | ReactElement<unknown, string | react.JSXElementConstructor<any>> | Iterable<react.ReactNode> | null | undefined> | null;
export { Props, cacheStore, InlineSVG as default };
export = InlineSVG