ant-design / ant-design/pro-components

🐛[BUG] ProCard组件并不支持 antd Card组件的classNames属性

Open
#9,545 1 comment 0 reactions 0 assignees View on GitHub
⭕️ bug
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

### 🐛 bug 描述

ProCard组件并不支持 antd Card组件的classNames属性。官方文档说是支持的。

### 📷 复现步骤

Image

### 🏞 期望结果

支持Card 的原始API classNames

### 💻 复现代码

```tsx

```

### © 版本信息

- ProComponents 版本: 3.1.4-0
- 浏览器环境: chrome 140+
- 开发环境: win11

### 🚑 其他信息

Image

Contributor guide

Open the contributing guide

Research direction

Start at the ProCard component entry point and compare its accepted props with the Ant Design Card API, focusing on the classNames property. Reproduce the example from the issue and verify that classNames is accepted and applied as expected.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.