UNPKG

@alauda/doom

Version:

Doctor Doom making docs.

9 lines (8 loc) 400 B
import type { FC, SVGAttributes } from 'react'; /** * A wrapper for custom SVG icon. * When the user uses a custom SVG, the imported icon can be a string or a React component. */ export declare function SvgWrapper({ icon: Icon, ...rest }: { icon: string | FC<React.SVGProps<SVGSVGElement>>; } & SVGAttributes<SVGSVGElement | HTMLImageElement>): import("react/jsx-runtime").JSX.Element | null;