2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/card/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered"
|
2017-03-17 18:56:30 +08:00
|
|
|
style="width:300px;"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-head"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
>
|
|
|
|
More
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-body"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/card/demo/border-less.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
style="background:#ECECEC;padding:30px;"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-card"
|
2017-03-17 18:56:30 +08:00
|
|
|
style="width:300px;"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-head"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-08-14 21:43:32 +08:00
|
|
|
exports[`renders ./components/card/demo/flexible-content.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered ant-card-hovering"
|
|
|
|
style="width:240px;"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-cover"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="example"
|
|
|
|
src="https://os.alipayobjects.com/rmsportal/QBnOOoLaAfKPirc.png"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-detail"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-title"
|
|
|
|
>
|
|
|
|
Europe Street beat
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-description"
|
|
|
|
>
|
|
|
|
www.instagram.com
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-07-07 13:36:54 +08:00
|
|
|
exports[`renders ./components/card/demo/grid-card.md correctly 1`] = `
|
|
|
|
<div
|
2017-08-14 09:52:16 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-contain-grid"
|
2017-07-07 13:36:54 +08:00
|
|
|
>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div>
|
2017-07-07 13:36:54 +08:00
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-head"
|
2017-07-07 13:36:54 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Card Title
|
2017-08-15 22:50:00 +08:00
|
|
|
</div>
|
2017-07-07 13:36:54 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-body"
|
2017-07-07 13:36:54 +08:00
|
|
|
>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-grid"
|
|
|
|
style="width:25%;text-align:center;"
|
|
|
|
>
|
2017-08-09 15:59:29 +08:00
|
|
|
Content
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-07-07 13:36:54 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/card/demo/in-column.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
style="background:#ECECEC;padding:30px;"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-row"
|
2017-06-15 15:34:47 +08:00
|
|
|
style="margin-left:-8px;margin-right:-8px;"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-col-8"
|
2017-06-15 15:34:47 +08:00
|
|
|
style="padding-left:8px;padding-right:8px;"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-card"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-head"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Card content
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-col-8"
|
2017-06-15 15:34:47 +08:00
|
|
|
style="padding-left:8px;padding-right:8px;"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-card"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-head"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Card content
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-col-8"
|
2017-06-15 15:34:47 +08:00
|
|
|
style="padding-left:8px;padding-right:8px;"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
class="ant-card"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-body"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
|
|
|
Card content
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/card/demo/inner.md correctly 1`] = `
|
|
|
|
<div
|
2017-08-14 09:52:16 +08:00
|
|
|
class="ant-card ant-card-bordered"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
2017-08-15 22:50:00 +08:00
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p
|
|
|
|
style="font-size:14px;color:rgba(0, 0, 0, 0.85);margin-bottom:16px;font-weight:500;"
|
|
|
|
>
|
|
|
|
Group title
|
|
|
|
</p>
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
2017-08-14 09:52:16 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-type-inner"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Inner Card title
|
2017-08-15 22:50:00 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
>
|
|
|
|
More
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Inner Card content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
<div
|
2017-08-14 09:52:16 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-type-inner"
|
2017-08-09 14:34:10 +08:00
|
|
|
style="margin-top:16px;"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
2017-08-09 14:34:10 +08:00
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Inner Card title
|
2017-08-15 22:50:00 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
>
|
|
|
|
More
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
Inner Card content
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/card/demo/loading.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div
|
|
|
|
class="ant-card ant-card-loading ant-card-bordered"
|
2017-03-17 18:56:30 +08:00
|
|
|
style="width:34%;"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
2017-08-15 22:36:48 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-head"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
2017-08-15 22:36:48 +08:00
|
|
|
</div>
|
2017-08-02 21:11:20 +08:00
|
|
|
<div
|
2017-08-15 22:50:00 +08:00
|
|
|
class="ant-card-body"
|
2017-08-02 21:11:20 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-loading-content"
|
|
|
|
>
|
|
|
|
<p
|
2017-08-15 17:25:14 +08:00
|
|
|
class="ant-card-loading-block"
|
2017-08-15 22:50:00 +08:00
|
|
|
style="width:94%;"
|
2017-08-15 17:25:14 +08:00
|
|
|
/>
|
2017-08-15 22:50:00 +08:00
|
|
|
<p>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:28%;"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:62%;"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:22%;"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:66%;"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:56%;"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:39%;"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:21%;"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:15%;"
|
|
|
|
/>
|
|
|
|
<span
|
|
|
|
class="ant-card-loading-block"
|
|
|
|
style="width:40%;"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`renders ./components/card/demo/meta.md correctly 1`] = `
|
|
|
|
<div
|
2017-08-14 09:52:16 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-hovering"
|
2017-08-09 14:34:10 +08:00
|
|
|
style="width:300px;"
|
|
|
|
>
|
|
|
|
<div>
|
2017-08-14 21:43:32 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-cover"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
alt="example"
|
|
|
|
src="https://gw.alipayobjects.com/zos/rmsportal/JiqGstEfoWAOHiTxclqi.png"
|
|
|
|
/>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-avatar"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-avatar ant-avatar-circle ant-avatar-image"
|
|
|
|
>
|
|
|
|
<img
|
|
|
|
src="https://zos.alipayobjects.com/rmsportal/ODTLcjxAfvqbxHnVXCYX.png"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-detail"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-title"
|
|
|
|
>
|
|
|
|
Card title
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-meta-description"
|
|
|
|
>
|
|
|
|
This is the description
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<ul
|
|
|
|
class="ant-card-actions"
|
|
|
|
>
|
|
|
|
<li
|
|
|
|
style="width:33.333333333333336%;"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-setting"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-08-09 14:34:10 +08:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
style="width:33.333333333333336%;"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-edit"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-08-09 14:34:10 +08:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
<li
|
|
|
|
style="width:33.333333333333336%;"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
<i
|
|
|
|
class="anticon anticon-ellipsis"
|
2017-03-17 18:56:30 +08:00
|
|
|
/>
|
2017-08-09 14:34:10 +08:00
|
|
|
</span>
|
|
|
|
</li>
|
|
|
|
</ul>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-08-09 14:34:10 +08:00
|
|
|
exports[`renders ./components/card/demo/simple.md correctly 1`] = `
|
|
|
|
<div
|
|
|
|
class="ant-card ant-card-bordered"
|
|
|
|
style="width:300px;"
|
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
Card content
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2017-08-09 14:34:10 +08:00
|
|
|
exports[`renders ./components/card/demo/tabs.md correctly 1`] = `
|
2017-08-14 21:43:32 +08:00
|
|
|
<div>
|
|
|
|
<div
|
2017-08-23 19:02:27 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-contain-tabs"
|
2017-08-14 21:43:32 +08:00
|
|
|
style="width:100%;"
|
|
|
|
>
|
|
|
|
<div>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-card-head"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-15 22:50:00 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-card-head-title"
|
|
|
|
>
|
|
|
|
Card title
|
2017-08-15 22:50:00 +08:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-extra"
|
|
|
|
>
|
|
|
|
<a
|
|
|
|
href="#"
|
|
|
|
>
|
|
|
|
More
|
|
|
|
</a>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-card-head-tabs ant-tabs-line"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-bar"
|
|
|
|
role="tablist"
|
|
|
|
tabindex="0"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-14 21:43:32 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-container"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<span
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-tab-prev ant-tabs-tab-btn-disabled"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-prev-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
2017-08-09 14:34:10 +08:00
|
|
|
<span
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-tab-next ant-tabs-tab-btn-disabled"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-next-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-nav-wrap"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-nav-scroll"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-nav ant-tabs-nav-animated"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
2017-08-14 21:43:32 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-active ant-tabs-tab"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
tab1
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class=" ant-tabs-tab"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
tab2
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-14 21:43:32 +08:00
|
|
|
<div
|
|
|
|
class="ant-tabs-content ant-tabs-content-animated"
|
|
|
|
style="margin-left:0%;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
|
|
|
|
role="tabpanel"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
content1
|
|
|
|
</p>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
2017-08-14 21:43:32 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
<div
|
2017-08-23 19:02:27 +08:00
|
|
|
class="ant-card ant-card-bordered ant-card-contain-tabs"
|
2017-08-14 21:43:32 +08:00
|
|
|
style="width:100%;"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="ant-card-head"
|
|
|
|
>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs ant-tabs-top ant-card-head-tabs ant-tabs-line"
|
2017-08-09 14:34:10 +08:00
|
|
|
>
|
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-bar"
|
|
|
|
role="tablist"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-container"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-prev ant-tabs-tab-btn-disabled"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-prev-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-next ant-tabs-tab-btn-disabled"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="ant-tabs-tab-next-icon"
|
|
|
|
/>
|
|
|
|
</span>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-wrap"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav-scroll"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-nav ant-tabs-nav-animated"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-tabs-ink-bar ant-tabs-ink-bar-animated"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="true"
|
|
|
|
class="ant-tabs-tab-active ant-tabs-tab"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
article
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class=" ant-tabs-tab"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
app
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
aria-disabled="false"
|
|
|
|
aria-selected="false"
|
|
|
|
class=" ant-tabs-tab"
|
|
|
|
role="tab"
|
|
|
|
>
|
|
|
|
project
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
<div
|
2017-08-14 21:43:32 +08:00
|
|
|
class="ant-tabs-content ant-tabs-content-animated"
|
|
|
|
style="margin-left:0%;"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-hidden="false"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-active"
|
|
|
|
role="tabpanel"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
|
|
|
|
role="tabpanel"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-hidden="true"
|
|
|
|
class="ant-tabs-tabpane ant-tabs-tabpane-inactive"
|
|
|
|
role="tabpanel"
|
|
|
|
/>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-08-14 21:43:32 +08:00
|
|
|
<div
|
|
|
|
class="ant-card-body"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
<p>
|
|
|
|
article content
|
|
|
|
</p>
|
|
|
|
</div>
|
2017-08-09 14:34:10 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|