feat(Tabs): add nav-bottom slot (#8915)

This commit is contained in:
neverland
2021-06-23 16:38:29 +08:00
committed by GitHub
parent ec0f16b2aa
commit 2877363489
5 changed files with 41 additions and 11 deletions
@@ -160,3 +160,19 @@ exports[`should render correctly after inserting a tab with name 1`] = `
</div>
</div>
`;
exports[`should render nav-bottom slot correctly 1`] = `
<div class="van-tabs van-tabs--line">
<div class="van-tabs__wrap">
<div role="tablist"
class="van-tabs__nav van-tabs__nav--line"
>
<div class="van-tabs__line">
</div>
</div>
</div>
Nav Bottom
<div class="van-tabs__content">
</div>
</div>
`;