Comments (6)
<ConfigProvider variant="filled">
一起支持看起来好点
from ant-design.
<ConfigProvider input={{ variant: 'filled' }} form={{ variant: 'filled' }}>
这样是否足够呢,每个支持 variant
的组件都可以在 ConfigProvider 上配置
from ant-design.
<ConfigProvider input={{ variant: 'filled' }} form={{ variant: 'filled' }}>
这样是否足够呢,每个支持
variant
的组件都可以在 ConfigProvider 上配置
能这样修改就太好了!
还有个担心,如果以后有新的组件支持了变体,还得往 ConfigProvider 上暴露一下这个配置能力才能支持全局配置,可能贡献者不一定注意得到;variant 有可能只在 provider 的一个属性里集中配置么,有点类似 theme dark 的感觉(不过 dark 是样式层面,可能有点不一样)
from ant-design.
filled variant 在 inline form 中将 label 放到控件框中作为前缀要更好看一点,那么是否能让所有的输入框类样式的输入组件都支持 prefix 呢?同时 Form 和 Form.Item 也支持配置 label 的位置
from ant-design.
<ConfigProvider variant="filled">
一起支持看起来好点
这样很方便
from ant-design.
filled variant 在 inline form 中将 label 放到控件框中作为前缀要更好看一点,那么是否能让所有的输入框类样式的输入组件都支持 prefix 呢?同时 Form 和 Form.Item 也支持配置 label 的位置
感觉这是另一个话题,类似 material UI 那种么
from ant-design.
Related Issues (20)
- Can't change pagination item background color with custom theme HOT 1
- Style folder for components HOT 3
- Make autoSize consistent between Input.TextArea and Mentions components
- AutoFocus does not work on an input HOT 7
- Select 多选模式长按回车会不断执行 onChange HOT 5
- 不要固定cardPaddingSM,有变更需求 HOT 1
- UploadDragger in sperate component and use in Form with scrollToFirstError not scroll HOT 2
- Select displaying option value with reduced spaces HOT 4
- Tabs flicker if browser zoom level is set to 90% HOT 1
- DatePicker - Incorrect Display of Dates in Turkish Date Format HOT 3
- Select组件在options变化时,会自动执行onChange事件返回的不正确的values HOT 2
- Select组件在options变化时,会自动执行onChange事件返回的不正确的values HOT 2
- Image什么时候能支持mov格式的图片展示 HOT 3
- 基于Antd封装上层业务组件,如何合并外部(调用方)传入的ConfigProvider theme配置? HOT 9
- Upload defaultFileList should allow for fallback image in case of a broken Link.
- 在antd国内镜像官网首页点击中英文切换icon后,url路径会反复拼接删除index-cn,导致无法显示出页面
- TreeSelect 搜索功能,命中关键字为中文时不加粗,英文时加粗 HOT 2
- Security Vulnerability in Ant-Design HOT 1
- Checkbox.Group 中配置Options的非预期行为,value值会错误的按照options中索引排序 HOT 4
- Typography components using the `ellipsis` property with `onEllipsis` callback always displays ellipsis HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ant-design.