ant-design-icons
ant-design-icons copied to clipboard
createFromIconfontCN从iconFont创建的icon不支持style重置,是不是改不了颜色?
是的,我这边也报错,用的最新的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