2020-08-22 22:02:20 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/image/demo/basic.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-image"
|
|
|
|
style="width:200px"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/image/demo/fallback.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-image"
|
|
|
|
style="width:200px;height:200px"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="error"
|
2020-09-07 15:56:54 +08:00
|
|
|
style="height:200px"
|
2020-08-22 22:02:20 +08:00
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/image/demo/placeholder.md correctly 1`] = `
|
2020-09-30 16:46:44 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
>
|
2020-08-22 22:02:20 +08:00
|
|
|
<div
|
2020-09-30 16:46:44 +08:00
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:12px"
|
2020-08-22 22:02:20 +08:00
|
|
|
>
|
|
|
|
<div
|
2020-09-30 16:46:44 +08:00
|
|
|
class="ant-image"
|
|
|
|
style="width:200px"
|
2020-08-22 22:02:20 +08:00
|
|
|
>
|
2020-09-30 16:46:44 +08:00
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?undefined"
|
|
|
|
/>
|
2020-08-22 22:02:20 +08:00
|
|
|
<div
|
2020-09-30 16:46:44 +08:00
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-image-placeholder"
|
2020-08-22 22:02:20 +08:00
|
|
|
>
|
2020-09-30 16:46:44 +08:00
|
|
|
<div
|
|
|
|
class="ant-image"
|
|
|
|
style="width:200px"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/jkjgkEfvpUPVyRjUImniVslZfWPnJuuZ.png?x-oss-process=image/blur,r_50,s_50/quality,q_1/resize,m_mfit,h_200,w_200"
|
|
|
|
/>
|
|
|
|
</div>
|
2020-08-22 22:02:20 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2020-09-30 16:46:44 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2020-08-22 22:02:20 +08:00
|
|
|
>
|
2020-09-30 16:46:44 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Reload
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-22 22:02:20 +08:00
|
|
|
`;
|
2020-11-30 15:54:54 +08:00
|
|
|
|
|
|
|
exports[`renders ./components/image/demo/previewGroup.md correctly 1`] = `
|
|
|
|
Array [
|
|
|
|
<div
|
|
|
|
class="ant-image"
|
|
|
|
style="width:200px"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
<div
|
|
|
|
class="ant-image"
|
|
|
|
style="width:200px"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
class="ant-image-img"
|
|
|
|
src="https://gw.alipayobjects.com/zos/antfincdn/aPkFc8Sj7n/method-draw-image.svg"
|
|
|
|
/>
|
|
|
|
</div>,
|
|
|
|
]
|
|
|
|
`;
|