UNPKG

@surveycake/rc

Version:

react component of surveycake

17 lines (16 loc) 522 B
import React, { HTMLAttributes, CSSProperties } from 'react'; import { IconDefinition } from './types'; export interface IconProps extends HTMLAttributes<SVGSVGElement> { className?: string; style?: CSSProperties; icon: IconDefinition; viewBox?: string; spin?: boolean; size?: number; /** * css transform rotate(???deg) */ rotate?: number; } declare const Icon: React.ForwardRefExoticComponent<IconProps & React.RefAttributes<SVGSVGElement>>; export default Icon;