vant/src/cell/test/__snapshots__/index.spec.ts.snap
neverland b3ca94dfad
chore: add warn of deprecated slot (#8972)
* chore: migrate cell default slot

* chore: add warn of deprecated slot
2021-07-02 16:53:11 +08:00

55 lines
1.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`should change arrow direction when using arrow-direction prop 1`] = `
<i class="van-badge__wrapper van-icon van-icon-arrow-down van-cell__right-icon">
</i>
`;
exports[`should change icon class prefix when using icon-prefix prop 1`] = `
<div class="van-cell">
<i class="van-badge__wrapper my-icon my-icon-success van-cell__left-icon">
</i>
</div>
`;
exports[`should render extra slot correctly 1`] = `
<div class="van-cell">
Custom Extra
</div>
`;
exports[`should render icon slot correctly 1`] = `
<div class="van-cell">
Custom Icon
</div>
`;
exports[`should render label slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__title">
<span>
Title
</span>
<div class="van-cell__label">
Custom Label
</div>
</div>
</div>
`;
exports[`should render title slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__title">
Custom Title
</div>
</div>
`;
exports[`should render value slot correctly 1`] = `
<div class="van-cell">
<div class="van-cell__value van-cell__value--alone">
Custom Value
</div>
</div>
`;