feat(Stepper): add theme prop (#6282)
* feat(Stepper): add theme prop * docs: add round theme doc
This commit is contained in:
@@ -97,6 +97,12 @@ export default {
|
||||
};
|
||||
```
|
||||
|
||||
### Round Theme
|
||||
|
||||
```html
|
||||
<van-stepper v-model="value" theme="round" button-size="22" disable-input />
|
||||
```
|
||||
|
||||
## API
|
||||
|
||||
### Props
|
||||
@@ -112,6 +118,7 @@ export default {
|
||||
| input-width | Input width | _number \| string_ | `32px` |
|
||||
| button-size `v2.0.5` | Button size | _number \| string_ | `28px` |
|
||||
| decimal-length `v2.2.1` | Decimal length | _number \| string_ | - |
|
||||
| theme `v2.8.2` | Theme, can be set to `round` | _string_ | - |
|
||||
| integer | Whether to allow only integers | _boolean_ | `false` |
|
||||
| disabled | Disable value change | _boolean_ | `false` |
|
||||
| disable-plus `v2.2.16` | Whether to disable plus button | _boolean_ | `false` |
|
||||
|
||||
Reference in New Issue
Block a user