ant-design-icons icon indicating copy to clipboard operation
ant-design-icons copied to clipboard

createFromIconfontCN从iconFont创建的icon不支持style重置,是不是改不了颜色?

Open laochake opened this issue 3 years ago • 1 comments

laochake avatar Apr 01 '21 03:04 laochake

是的,我这边也报错,用的最新的4.6版本

Type '{ type: string; style: { fontSize: string; color: string; }; }' is not assignable to type 'IntrinsicAttributes & IconFontProps & { children?: ReactNode; }'. Property 'style' does not exist on type 'IntrinsicAttributes & IconFontProps & { children?: ReactNode; }'. TS2322

six006 avatar Jun 04 '21 01:06 six006