types(Steps): use tsx (#8123)

This commit is contained in:
neverland
2021-02-10 20:37:00 +08:00
committed by GitHub
parent 5b352d0339
commit 3e08b2471a
4 changed files with 53 additions and 20 deletions
@@ -26,7 +26,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
Step3
</div>
@@ -37,7 +37,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
Step4
</div>
@@ -91,7 +91,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
Step3
</div>
@@ -102,7 +102,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
Step4
</div>
@@ -135,7 +135,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--vertical">
<div class="van-hairline van-step van-step--vertical van-step--waiting">
<div class="van-step__title">
<h3>
【City】Status2
@@ -151,7 +151,7 @@ exports[`should render demo and match snapshot 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--vertical">
<div class="van-hairline van-step van-step--vertical van-step--waiting">
<div class="van-step__title">
<h3>
【City】Status3
@@ -30,10 +30,8 @@ exports[`should change inactive color when using inactive-color prop 1`] = `
>
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-step__title"
style="color: red;"
>
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
B
</div>
<div class="van-step__circle-container">
@@ -52,7 +50,7 @@ exports[`should change inactive color when using inactive-color prop 1`] = `
`;
exports[`should change inactive icon when using inactive-icon prop 1`] = `
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
B
</div>
@@ -78,7 +76,7 @@ exports[`should render icon slot correctly 1`] = `
<div class="van-step__line">
</div>
</div>
<div class="van-hairline van-step van-step--horizontal">
<div class="van-hairline van-step van-step--horizontal van-step--waiting">
<div class="van-step__title">
A
</div>