ant-design / ant-design/pro-components
🐛[BUG] ProCard组件并不支持 antd Card组件的classNames属性
Open
⭕️ bug
- Dominant language
- TypeScript
- Stars
- 4.8k
- Forks
- 1.4k
- Avg merge
- 10h 44m
- Merged PRs (30d)
- 3
Description
### 🐛 bug 描述
ProCard组件并不支持 antd Card组件的classNames属性。官方文档说是支持的。
### 📷 复现步骤
### 🏞 期望结果
支持Card 的原始API classNames
### 💻 复现代码
```tsx
```
### © 版本信息
- ProComponents 版本: 3.1.4-0
- 浏览器环境: chrome 140+
- 开发环境: win11
### 🚑 其他信息
Contributor 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