feat(Tab): add info prop (#5274)

This commit is contained in:
neverland
2019-12-15 22:06:24 +08:00
committed by GitHub
parent ebd69714a1
commit d25ddc1914
8 changed files with 35 additions and 3 deletions
+12
View File
@@ -251,3 +251,15 @@ test('dot prop', () => {
expect(wrapper).toMatchSnapshot();
});
test('info prop', () => {
const wrapper = mount({
template: `
<van-tabs>
<van-tab info="10">Text</van-tab>
</van-tabs>
`
});
expect(wrapper).toMatchSnapshot();
});