mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 07:56:28 +08:00
update doc
This commit is contained in:
parent
c78d3032f5
commit
d2e178d215
@ -19,6 +19,6 @@ When a numeric value needs to be provided.
|
||||
| value | current value | number | |
|
||||
| step | The number to which the current value is increased or decreased. It can be an integer or decimal. | number\|string | 1 |
|
||||
| defaultValue | initial value | number | |
|
||||
| onChange | The callback triggered when the value is changed. | Function(value) | |
|
||||
| onChange | The callback triggered when the value is changed. | Function(value: number | string) | |
|
||||
| disabled | disable the input | boolean | false |
|
||||
| size | width of input box | string | none |
|
||||
|
@ -22,6 +22,6 @@ title: InputNumber
|
||||
| value | 当前值 | number | |
|
||||
| step | 每次改变步数,可以为小数 | number\|string | 1 |
|
||||
| defaultValue | 初始值 | number | |
|
||||
| onChange | 变化回调 | Function(value) | |
|
||||
| onChange | 变化回调 | Function(value: number | string) | |
|
||||
| disabled | 禁用 | boolean | false |
|
||||
| size | 输入框大小 | string | 无 |
|
||||
|
Loading…
Reference in New Issue
Block a user