/** * iconfont * spin 属性用来播放动画 * 动画参数 SPIN,SPIN2,ALTERNATE, */ import React, { CSSProperties } from 'react'; import './index.less'; declare const Icon: { (props: IIconProps): JSX.Element; SPIN: string; SPIN1: string; SPIN2: string; ALTERNATE: string; IconFont: any; prefixCls: string; createFromIconfontCN(props: any): React.SFC; }; interface IIconProps { prefixCls?: string; antdIcon?: boolean; svg?: boolean; type: string; spin?: boolean; rotate?: number; style?: CSSProperties; classname?: string; className?: string; } export default Icon;