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)
- in antd table column not allow to add align prop HOT 2
- Steps 自定义图标没有垂直居中对齐 HOT 3
- 使用Table组件并设置为前端分页和过滤后,点击过滤时,列的render和onFilter函数得到的record对象类型和初始传入的不一致
- 在使用Modal 对话框的时候,window尺寸变化,会导致对话框被被关闭 HOT 15
- 在使用React 18.3.0 或者React 19 Beta版本时, Menu组件都会报findDOMNode is deprecated and will be removed错误 HOT 10
- What to display Table.EXPAND_COLUMN in children column? HOT 2
- Tour搭配Modal使用导致无法点击下一步 HOT 5
- Request `Design Token` to support postcss plugins such as px2rem
- Select组件能否支持拿到过滤后的options列表 HOT 1
- useWatch value get frozen inside columns render function HOT 2
- Transfer component crashes the app when trying to select item from the right column while it has "unknown-key" within targetKeys HOT 1
- slider tooltip={{ formatter: null }} 隐藏 tooltip 后会有空的 tooltip 出现 HOT 1
- Input disabled 没有红色 border HOT 5
- antd table 的 ExpandedRowRender是一个表单,当默认展开的时候,对表单进行赋值的时候,总是会对最后一个表单赋值。 HOT 2
- resize-observer这个库直接使用findDOMNode导致的 HOT 1
- Tabs组件“更多按钮”无限闪现 HOT 1
- antd tooltip嵌套svg 点击时跳转页面 tooltip会在新页面一直存在 除非刷新 HOT 2
- Form.useWatch 为 undefined 导致页面报错 HOT 3
- SwitcherIconCom 组件不支持自定义loading HOT 2
- List 组件相关,在更新 grid.lg、grid.md 等属性值后,组件没有实时刷新 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.