UNPKG

@kisstar/rc-ui

Version:

UI component library built with React Hooks.

15 lines (14 loc) 429 B
import React from 'react'; export interface CustomIconOptions { scriptUrl?: string | string[]; } export interface IconFontProps<T = string> { type: T; className?: string; style?: React.CSSProperties; spin?: boolean; rotate?: number; onClick?: React.MouseEventHandler<SVGSVGElement>; prefixCls?: string; } export default function create<T>(options?: CustomIconOptions): React.FC<IconFontProps<T>>;