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
@@ -90,6 +90,14 @@ export default {
};
```
### 搭配单元格使用
```html
<van-cell center title="标题">
<van-switch v-model="checked" slot="right-icon" size="24" />
</van-cell>
```
## API
### Props