docs(Switch): add with cell demo (#5575)

This commit is contained in:
neverland
2020-01-14 14:42:26 +08:00
committed by GitHub
parent c4d6f94f1b
commit 70bfb65242
4 changed files with 45 additions and 7 deletions
+8
View File
@@ -78,6 +78,14 @@ export default {
};
```
### Inside a Cell
```html
<van-cell center title="Title">
<van-switch v-model="checked" slot="right-icon" size="24" />
</van-cell>
```
## API
### Props