feat(ActionBarIcon): add icon-prefix prop (#8748)

This commit is contained in:
neverland
2021-05-23 08:55:19 +08:00
committed by GitHub
parent 41805992a3
commit 4c69fdba30
6 changed files with 30 additions and 5 deletions
@@ -51,3 +51,13 @@ exports[`should render icon slot with dot correctly 1`] = `
Content
</div>
`;
exports[`should render icon-prefix correctly 1`] = `
<div role="button"
class="van-action-bar-icon"
tabindex="0"
>
<div class="van-badge__wrapper my-icon my-icon-success van-action-bar-icon__icon">
</div>
</div>
`;