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
@@ -34,5 +34,13 @@ exports[`renders demo correctly 1`] = `
<div class="van-switch__node"></div>
</div>
</div>
<div>
<div class="van-cell van-cell--center">
<div class="van-cell__title"><span>标题</span></div>
<div role="switch" aria-checked="true" class="van-switch van-switch--on" style="font-size: 24px;">
<div class="van-switch__node"></div>
</div>
</div>
</div>
</div>
`;