feat: add Empty component (#6010)

This commit is contained in:
neverland
2020-04-07 17:43:19 +08:00
committed by GitHub
parent 14299a2011
commit 525f7ecb88
12 changed files with 458 additions and 0 deletions
@@ -0,0 +1,14 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`description slot 1`] = `
<div class="van-empty">
<div class="van-empty__image"><img src="https://img.yzcdn.cn/vant/empty-image-default.png"></div>
<p class="van-empty__description">Custom description</p>
</div>
`;
exports[`image slot 1`] = `
<div class="van-empty">
<div class="van-empty__image">Custom Image</div>
</div>
`;