2018-05-03 15:17:04 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-01-02 19:10:16 +08:00
|
|
|
exports[`Card rtl render component should be rendered correctly in RTL direction 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered ant-card-rtl"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-05-03 15:17:04 +08:00
|
|
|
exports[`Card should still have padding when card which set padding to 0 is loading 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-loading ant-card-bordered"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
style="padding: 0px;"
|
|
|
|
>
|
|
|
|
<div
|
2022-05-13 11:32:40 +08:00
|
|
|
class="ant-skeleton ant-skeleton-active"
|
2018-05-03 15:17:04 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-05-13 11:32:40 +08:00
|
|
|
class="ant-skeleton-content"
|
2018-05-03 15:17:04 +08:00
|
|
|
>
|
2022-05-13 11:32:40 +08:00
|
|
|
<ul
|
|
|
|
class="ant-skeleton-paragraph"
|
2018-05-03 15:17:04 +08:00
|
|
|
>
|
2022-05-13 11:32:40 +08:00
|
|
|
<li />
|
|
|
|
<li />
|
|
|
|
<li />
|
|
|
|
<li
|
|
|
|
style="width: 61%;"
|
2018-05-03 15:17:04 +08:00
|
|
|
/>
|
2022-05-13 11:32:40 +08:00
|
|
|
</ul>
|
2018-05-03 15:17:04 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
2018-09-16 17:44:41 +08:00
|
|
|
|
|
|
|
exports[`Card title should be vertically aligned 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered"
|
|
|
|
style="width: 300px;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head-wrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
|
|
|
>
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2018-09-16 17:44:41 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Button
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|