Skip to content

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

@lynancy

Description

@lynancy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions