ant-design / ant-design/pro-components

🐛[BUG] variant应该受antd的ConfigProvider影响

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

Description

提问前先看看:

https://github.com/ryanhanwu/How-To-Ask-Questions-The-Smart-Way/blob/main/README-zh_CN.md

### 🐛 bug 描述
https://github.com/ant-design/pro-components/blob/d1de25933894e78594891935febd1476e1445c97/src/field/components/DatePicker/index.tsx#L121
variant应该受antd的ConfigProvider影响

### 📷 复现步骤

### 🏞 期望结果

### 💻 复现代码

### © 版本信息

- ProComponents 版本: [e.g. 4.0.0]
- umi 版本
- 浏览器环境
- 开发环境 [e.g. mac OS]

### 🚑 其他信息

Contributor guide

Open the contributing guide

Research direction

Start at src/field/components/DatePicker/index.tsx line 121 and inspect how the DatePicker variant is determined relative to antd's ConfigProvider. Reproduce the component under a ConfigProvider with a configured variant, then verify that the DatePicker follows that configuration.

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
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.