UNPKG

@veracity/vui

Version:

Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.

17 lines (15 loc) 555 B
import { VuiComponent } from "../core/vui.js"; import { SvgProps } from "./svg.types.js"; //#region src/svg/svg.d.ts declare const SvgBase: VuiComponent<'svg', SvgProps>; /** * Displays an svg element based on provided children or 'src' prop. * * When using src, it loads the content from the given URL and saves in in cache. * * Then, renders the svg by parsing loaded content (Review potential for XSS due to innerHTML). */ declare const Svg: VuiComponent<"svg", SvgProps>; //#endregion export { Svg, SvgBase }; //# sourceMappingURL=svg.d.ts.map