Comments (12)
select 和 input-number 中的 input 分别是在 Select.js 和 InputNumber.js 中写固定了的,要实现支持三套大小,可能还需要提供API @yiminghe
from ant-design.
用样式改如何?
from ant-design.
mixin
from ant-design.
mixin 怎么实现?提供传递 className 的 API 来修改样式可以吗?
from ant-design.
https://github.com/ant-design/ant-design/blob/master/style/components/inputNumber.less#L45
from ant-design.
mixin 也实现不了吧,得有个 API 来设置 className ,不同的 className 对应不同的样式
from ant-design.
select 和 input-number 用 mixin 搞不定的。
from ant-design.
select/input-number 组件可以设置 className
from ant-design.
通过修改 prefixCls 来设置 className 么?
from ant-design.
<InputNumber className="" />
from ant-design.
fixed via #121
from ant-design.
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread.
from ant-design.
Related Issues (20)
- Popover的content属性存在两种类型ReactNode和() => ReactNode,相同的返回值表现形式却不一致
- Cascader.Panel 组件无法主动失焦 HOT 1
- Cascader.Panel 组件无法主动失焦
- [RFC] Divider custom gutter margin
- Upload: 文件列表展示额外信息
- 希望可以开放 <DatePicker._InternalPanelDoNotUseOrYouWillBeFired> HOT 5
- problem Datepicker in mobile view HOT 2
- Upload.Dragger 组件使用customRequest自定义上传的时候,回调onProgress({percent: 100})之后,文件列表前面的图标还是一直loading的状态 HOT 2
- table虚拟加载,不到1000条数据,列数增加到10列以上就特别卡顿 HOT 1
- hasFeedback and validateStatus not working when importing controls directly from antd/lib/... HOT 1
- hasFeedback and validateStatus not working when importing controls directly from antd/lib/... HOT 5
- Collapse组件items label中使用Checkbox组件indeterminate状态时样式错误 HOT 2
- Pdf preview HOT 1
- Upload.Dragger directory drop does not work HOT 7
- Sorting on children column doesn't work after updating to 5.19.3 HOT 2
- 在 table 中设置 scroll.y 导致行拖拽无法滚动 HOT 1
- Multi-filter search bar
- 日期时间范围选择器无法选择 HOT 7
- Issue with defaultExpandAll Prop in Antd Tree Component
- Standardize the Usage of React Imports and Destructuring HOT 1
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.