mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
42 lines
1010 B
Plaintext
42 lines
1010 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`should render cancel text when using cancel-text prop 1`] = `
|
|
<button type="button"
|
|
class="van-share-sheet__cancel"
|
|
>
|
|
foo
|
|
</button>
|
|
`;
|
|
|
|
exports[`should render description when using description prop 1`] = `
|
|
<span class="van-share-sheet__description">
|
|
foo
|
|
</span>
|
|
`;
|
|
|
|
exports[`should render title and description slot correctly 1`] = `
|
|
<transition-stub>
|
|
<div class="van-overlay">
|
|
</div>
|
|
</transition-stub>
|
|
<transition-stub>
|
|
<div class="van-popup van-popup--round van-popup--bottom van-popup--safe-area-inset-bottom van-share-sheet">
|
|
<div class="van-share-sheet__header">
|
|
<h2 class="van-share-sheet__title">
|
|
Custom Title
|
|
</h2>
|
|
<span class="van-share-sheet__description">
|
|
Custom Description
|
|
</span>
|
|
</div>
|
|
<div class="van-share-sheet__options">
|
|
</div>
|
|
<button type="button"
|
|
class="van-share-sheet__cancel"
|
|
>
|
|
取消
|
|
</button>
|
|
</div>
|
|
</transition-stub>
|
|
`;
|