docs: complete some examples of button/cell/checkbox/radio

This commit is contained in:
linrz
2019-12-29 21:21:24 +08:00
committed by neverland
parent 7b905a6de8
commit f0815bc405
16 changed files with 209 additions and 8 deletions
+12
View File
@@ -33,6 +33,12 @@ export default {
<van-checkbox v-model="checked" disabled>Checkbox</van-checkbox>
```
### Disabled Label Click
```html
<van-checkbox v-model="checked" label-disabled>Checkbox</van-checkbox>
```
### Custom Shape
```html
@@ -45,6 +51,12 @@ export default {
<van-checkbox v-model="checked" checked-color="#07c160">Checkbox</van-checkbox>
```
### Custom Icon Size
```html
<van-checkbox v-model="checked" icon-size="25px">Checkbox</van-checkbox>
```
### Custom Icon
Use icon slot to custom icon