UNPKG

@saleor/macaw-ui

Version:

Saleor's UI component library

15 lines (13 loc) 598 B
import { SVGWrapperVariants } from './SVGWrapper.css'; import { Sprinkles } from '../../../theme'; import { ReactNode, SVGProps } from 'react'; export type SVGWrapperProps = SVGWrapperVariants & Omit<SVGProps<SVGSVGElement>, "ref"> & { children: ReactNode; color?: Sprinkles["color"]; }; export declare const SVGWrapper: import('react').ForwardRefExoticComponent<{ readonly size?: "medium" | "fill" | "small" | "large" | undefined; } & Omit<SVGProps<SVGSVGElement>, "ref"> & { children: ReactNode; color?: Sprinkles["color"]; } & import("react").RefAttributes<SVGSVGElement>>;