/** * A vector art (SVG) asset from Wix Media. * * @example * ```tsx * import type { VectorArt } from '@wix/editor-react-types'; * * interface MyComponentProps { * icon?: VectorArt; * } * ``` */ export type VectorArt = { /** The SVG URI. */ uri: string /** The SVG `viewBox` attribute value. */ viewBox: string /** The SVG content box dimensions. */ contentBox: string /** A map of color IDs to their resolved color values, for themeable SVGs. */ colors: Record /** * The SVG content type, which determines how colors and theming are applied. * - `'shape'` — a simple monochromatic shape. * - `'color'` — a multi-color SVG. * - `'tint'` — a single-color tintable SVG. * - `'ugc'` — user-generated content. * - `'textpath'` — text along a path. */ contentType: 'shape' | 'color' | 'tint' | 'ugc' | 'textpath' /** The raw SVG markup. */ svgContent: string }