feat(ActionSheet): add cancel slot (#8333)

This commit is contained in:
neverland
2021-03-14 11:14:55 +08:00
committed by GitHub
parent ceebc22e63
commit 393d7cb7af
9 changed files with 430 additions and 399 deletions
@@ -5,6 +5,14 @@ exports[`should allow to custom close icon with closeIcon prop 1`] = `
</i>
`;
exports[`should render cancel slot correctly 1`] = `
<button type="button"
class="van-action-sheet__cancel"
>
Custom Cancel
</button>
`;
exports[`should render default slot correctly 1`] = `
<transition-stub>
<div class="van-overlay">