ElemeFE / ElemeFE/element-react
Input size does not match the Chalk theme (or Vue library)
Open
- Dominant language
- JavaScript
- Stars
- 2.8k
- Forks
- 435
- PR merge metrics
- No merged PRs in 30d
Description
### Description
I noticed the Input component only takes `large|small|mini` for the size prop, while the Vue version takes `medium` instead of `large`. `medium` is also used by the Chalk theme, so setting `size="medium"` works in the browser but throws an error in the console.
Is there any chance the React version could follow the Vue Input component in this regard, so that the same theme can be used for both? We have to do some forms in React even though everything else is Vue, so it would be very helpful if the Element themes worked for both.
### Reproduce Steps
1. `
Contributor guide
Assessment
This issue has not been assessed yet.