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.

16 lines (15 loc) 610 B
import { Dict } from "../utils/types.js"; import { ColorGetter } from "../system/colors.js"; import { SystemProps } from "../system/system.js"; //#region src/svg/svg.types.d.ts type SvgProps = SystemProps & { /** If string, adds fill color to all paths. If array, adds fill color to consecutive path elements. */pathFill?: ColorGetter | ColorGetter[]; /** If provided, loads an svg file from this URL and displays parsed content. */ src?: string; }; type SvgState = { content?: string; svgAttributes: Dict<string>; }; //#endregion export { SvgProps, SvgState }; //# sourceMappingURL=svg.types.d.ts.map