@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 (16 loc) • 597 B
TypeScript
import { VuiComponent } from "../core/vui.js";
import "../core/index.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, Svg as default, SvgBase };
//# sourceMappingURL=svg.d.ts.map