@saleor/macaw-ui
Version:
Saleor's UI component library
19 lines (17 loc) • 626 B
TypeScript
import { SVGWrapperVariants } from './SVGWrapper.css';
import { Sprinkles } from '../../../theme';
import { ReactNode } from 'react';
export type SVGWrapperProps = SVGWrapperVariants & {
className?: string;
viewBox?: string;
children: ReactNode;
color?: Sprinkles["color"];
};
export declare const SVGWrapper: import('react').ForwardRefExoticComponent<{
readonly size?: "medium" | "fill" | "small" | "large" | undefined;
} & {
className?: string | undefined;
viewBox?: string | undefined;
children: ReactNode;
color?: Sprinkles["color"];
} & import("react").RefAttributes<SVGSVGElement>>;