types(CountDown): add CountDownInstance type (#9153)

* types(CountDown): add CountDownInstance type

* chore: fix snapshot
This commit is contained in:
neverland
2021-07-29 15:34:08 +08:00
committed by GitHub
parent 8a0f7ff3f0
commit 44fb849a5f
6 changed files with 83 additions and 26 deletions
@@ -0,0 +1,31 @@
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should format S milliseconds correctly 1`] = `
<div class="van-count-down">
01-5
</div>
`;
exports[`should format SS milliseconds correctly 1`] = `
<div class="van-count-down">
01-50
</div>
`;
exports[`should format complete time correctly 1`] = `
<div class="van-count-down">
01-05-59-59-999
</div>
`;
exports[`should format incomplete time correctly 1`] = `
<div class="van-count-down">
29-59-59-999
</div>
`;
exports[`should not start counting when auto-start prop is false 1`] = `
<div class="van-count-down">
100
</div>
`;