mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2025-02-05 13:00:47 +08:00
docs: add input-number docs (#681)
Co-authored-by: yugang.cao <yugang.cao@tusimple.ai>
This commit is contained in:
parent
5264adc48d
commit
5c8fcf89ef
@ -24,7 +24,7 @@ show-button
|
||||
| disabled | `boolean` | `false` | Whether to disable the input. |
|
||||
| max | `number` | `undefined` | The max value. |
|
||||
| min | `number` | `undefined` | The min value. |
|
||||
| placeholder | `string` | `'Please Input'` | |
|
||||
| placeholder | `string` | `'Please Input'` | Placeholder of input number. |
|
||||
| show-button | `boolean` | `true` | Whether to show buttons. |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | The size of input box. |
|
||||
| step | `number` | `1` | The number to which the current value is increased or decreased. It can be an integer or decimal. |
|
||||
|
@ -25,7 +25,7 @@ debug
|
||||
| disabled | `boolean` | `false` | 是否禁用 |
|
||||
| max | `number` | `undefined` | 最大值 |
|
||||
| min | `number` | `undefined` | 最小值 |
|
||||
| placeholder | `string` | `'请输入'` | |
|
||||
| placeholder | `string` | `'请输入'` | 提示信息 |
|
||||
| show-button | `boolean` | `true` | 是否有按钮 |
|
||||
| size | `'small' \| 'medium' \| 'large'` | `'medium'` | 输入框大小 |
|
||||
| step | `number` | `1` | 每次改变步数,可以为小数 |
|
||||
|
Loading…
Reference in New Issue
Block a user