amis/__tests__/renderers/__snapshots__/Carousel.test.tsx.snap
liaoxuezhi f5d44aabe4
feat: 静态展示也支持 borderMode 配置 (#2672)
* feat: 静态展示也支持 borderMode 配置

* 更新 carousel dom 变化后的 snapshot
2021-10-11 11:24:51 +08:00

87 lines
1.9 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Renderer:carousel 1`] = `
<div>
<div
class="cxd-Carousel cxd-Carousel--light show"
style="width: 500px; height: 300px;"
>
<div
class="cxd-Carousel-container"
>
<div
class="cxd-Carousel-item fade in"
>
<div
class="cxd-Image cxd-Image--original cxd-Carousel-image"
>
<div
class="cxd-Image-origin cxd-Image-origin--contain"
>
<img
class="cxd-Image-image"
src="https://internal-amis-res.cdn.bcebos.com/images/2019-12/1577157239810/da6376bf988c.png"
/>
</div>
<div
class="cxd-Image-info"
>
<div
class="cxd-Image-title"
title="标题"
>
标题
</div>
</div>
</div>
</div>
<div
class="cxd-Carousel-item fade out"
>
<div
class="cxd-Image cxd-Image--original cxd-Carousel-image"
>
<div
class="cxd-Image-origin cxd-Image-origin--contain"
>
<img
class="cxd-Image-image"
src="https://ss0.bdstatic.com/70cFvHSh_Q1YnxGkpoWK1HF6hhy/it/u=3893101144,2877209892&fm=23&gp=0.jpg"
/>
</div>
</div>
</div>
</div>
<div
class="cxd-Carousel-dotsControl"
>
<span
class="cxd-Carousel-dot is-active"
/>
<span
class="cxd-Carousel-dot"
/>
<span
class="cxd-Carousel-dot"
/>
</div>
<div
class="cxd-Carousel-leftArrow"
>
<icon-mock
classname="icon icon-left-arrow"
icon="left-arrow"
/>
</div>
<div
class="cxd-Carousel-rightArrow"
>
<icon-mock
classname="icon icon-right-arrow"
icon="right-arrow"
/>
</div>
</div>
</div>
`;