Skip to content

[BUG] Using unsupported variant prop on Ant Design Card component in non-compatible version #7138

@hakankosdag

Description

@hakankosdag

Describe the bug

Card components in the project are using the variant prop. However, the variant prop for Card is only supported starting from Ant Design version 5.24.0.
The project is currently using Ant Design 5.23.0, which does not include variant support.

As a result, the variant prop has no effect and Cards component displayed with bordered.

Ant Design Card API;
Image

Steps To Reproduce

See "Show Screen" or "Create/Edit Screen"

Expected behavior

The card component should be displayed as borderless.

Packages

"@refinedev/antd": "^6.0.3",
"@refinedev/core": "^5.0.6",

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions