Update index.tsx

This commit is contained in:
handycode 2017-04-06 03:41:03 +08:00 committed by GitHub
parent fb837ea9a8
commit 4736a1b990

View File

@ -19,7 +19,7 @@ const icon = (props: IconProps) => {
[`anticon-${type}`]: true,
}, className);
return <i {...omit(props, ['type', 'spin'])} className={classString} />;
}
};
(icon as any).displayName = 'Icon';