UNPKG

vite-awesome-svg-loader

Version:

A universal Vite SVG loader. Imports SVGs as source code, base64 and data URI. Preserves stroke width. Replaces colors with currentColor or custom colors. Creates SVG sprites. Optimizes SVGs.

6 lines (5 loc) 327 B
import { SVGAttributes } from 'react'; import { SvgImageProps as SvgImagePropsRaw } from "../integration-utils/index"; export interface SvgImageProps extends SVGAttributes<SVGElement>, SvgImagePropsRaw { } export declare function SvgImage({ src, useElAttrs, ...attrs }: SvgImageProps): import("react/jsx-runtime").JSX.Element;