@react-beauty/ui-icon
Version:
ui-icon
8 lines (7 loc) • 325 B
TypeScript
import { IconName, IconSize } from '../type';
import { SVGProps } from 'react';
export interface IconProps extends SVGProps<SVGSVGElement> {
name: IconName;
size?: IconSize;
}
export declare const Icon: import('react').ForwardRefExoticComponent<Omit<IconProps, "ref"> & import('react').RefAttributes<SVGSVGElement>>;