@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
20 lines (19 loc) • 672 B
TypeScript
import { Dict } from "../utils/types.js";
import "../utils/index.js";
import { ColorGetter } from "../system/colors.js";
import { SystemProps } from "../system/system.js";
import "../system/index.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