#1131·antd-admin

type '{ children: Element; tip: string; size: "large"; spinning: boolean; indicator: Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes<Spin>

Author: lynancyCreated May 8, 2022Updated May 8, 2022

tsx使用spin标签报错 <Spin tip={"Loading..."} size={"large"} spinning={!userinfo?.address} indicator={antIcon} >

type '{ children: Element; tip: string; size: "large"; spinning: boolean; indicator: Element; }' is not assignable to type 'IntrinsicAttributes & IntrinsicClassAttributes