ant-design/components/grid/__tests__/__snapshots__/demo.test.js.snap

962 lines
18 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/grid/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-12"
>
2016-11-22 14:28:05 +08:00
col-12
</div>
<div
class="ant-col ant-col-12"
>
2016-11-22 14:28:05 +08:00
col-12
</div>
</div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-8"
>
2016-11-22 14:28:05 +08:00
col-8
</div>
<div
class="ant-col ant-col-8"
>
2016-11-22 14:28:05 +08:00
col-8
</div>
<div
class="ant-col ant-col-8"
>
2016-11-22 14:28:05 +08:00
col-8
</div>
</div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-6"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
<div
class="ant-col ant-col-6"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
<div
class="ant-col ant-col-6"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
<div
class="ant-col ant-col-6"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
</div>
</div>
`;
exports[`renders ./components/grid/demo/flex.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<p>
sub-element align left
</p>
<div
class="ant-row-flex ant-row-flex-start"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
</div>
<p>
sub-element align center
</p>
<div
class="ant-row-flex ant-row-flex-center"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
</div>
<p>
sub-element align right
</p>
<div
class="ant-row-flex ant-row-flex-end"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
</div>
<p>
sub-element monospaced arrangement
</p>
<div
class="ant-row-flex ant-row-flex-space-between"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
</div>
<p>
sub-element align full
</p>
<div
class="ant-row-flex ant-row-flex-space-around"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
col-4
</div>
</div>
</div>
`;
exports[`renders ./components/grid/demo/flex-align.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<p>
Align Top
</p>
<div
class="ant-row-flex ant-row-flex-center ant-row-flex-top"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-100"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-50"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-120"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-80"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
</div>
<p>
Align Center
</p>
<div
class="ant-row-flex ant-row-flex-space-around ant-row-flex-middle"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-100"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-50"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-120"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-80"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
</div>
<p>
Align Bottom
</p>
<div
class="ant-row-flex ant-row-flex-space-between ant-row-flex-bottom"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-100"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-50"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-120"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
<div
class="ant-col ant-col-4"
>
2016-11-22 14:28:05 +08:00
<p
class="height-80"
>
2016-11-22 14:28:05 +08:00
col-4
</p>
</div>
</div>
</div>
`;
exports[`renders ./components/grid/demo/flex-order.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-row-flex"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-6 ant-col-order-4"
>
2016-11-22 14:28:05 +08:00
1 col-order-4
</div>
<div
class="ant-col ant-col-6 ant-col-order-3"
>
2016-11-22 14:28:05 +08:00
2 col-order-3
</div>
<div
class="ant-col ant-col-6 ant-col-order-2"
>
2016-11-22 14:28:05 +08:00
3 col-order-2
</div>
<div
class="ant-col ant-col-6 ant-col-order-1"
>
2016-11-22 14:28:05 +08:00
4 col-order-1
</div>
</div>
</div>
`;
exports[`renders ./components/grid/demo/gutter.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="gutter-example"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-row"
2017-09-20 16:26:18 +08:00
style="margin-left:-8px;margin-right:-8px"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-6 gutter-row"
2017-09-20 16:26:18 +08:00
style="padding-left:8px;padding-right:8px"
>
2016-11-22 14:28:05 +08:00
<div
class="gutter-box"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
2017-09-20 16:26:18 +08:00
style="padding-left:8px;padding-right:8px"
>
2016-11-22 14:28:05 +08:00
<div
class="gutter-box"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
2017-09-20 16:26:18 +08:00
style="padding-left:8px;padding-right:8px"
>
2016-11-22 14:28:05 +08:00
<div
class="gutter-box"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
2017-09-20 16:26:18 +08:00
style="padding-left:8px;padding-right:8px"
>
2016-11-22 14:28:05 +08:00
<div
class="gutter-box"
>
2016-11-22 14:28:05 +08:00
col-6
</div>
</div>
</div>
<div
class="ant-row"
style="margin-top:-10px;margin-bottom:-10px"
>
<div
class="ant-col ant-col-6 gutter-row"
style="padding-top:10px;padding-bottom:10px"
>
<div
class="gutter-box"
>
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
style="padding-top:10px;padding-bottom:10px"
>
<div
class="gutter-box"
>
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
style="padding-top:10px;padding-bottom:10px"
>
<div
class="gutter-box"
>
col-6
</div>
</div>
<div
class="ant-col ant-col-6 gutter-row"
style="padding-top:10px;padding-bottom:10px"
>
<div
class="gutter-box"
>
col-6
</div>
</div>
</div>
2016-11-22 14:28:05 +08:00
</div>
`;
exports[`renders ./components/grid/demo/offset.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-8"
>
2016-11-22 14:28:05 +08:00
col-8
</div>
<div
class="ant-col ant-col-8 ant-col-offset-8"
>
2016-11-22 14:28:05 +08:00
col-8
</div>
</div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-6 ant-col-offset-6"
>
2016-11-22 14:28:05 +08:00
col-6 col-offset-6
</div>
<div
class="ant-col ant-col-6 ant-col-offset-6"
>
2016-11-22 14:28:05 +08:00
col-6 col-offset-6
</div>
</div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-12 ant-col-offset-6"
>
2016-11-22 14:28:05 +08:00
col-12 col-offset-6
</div>
</div>
</div>
`;
exports[`renders ./components/grid/demo/playground.md correctly 1`] = `
2016-12-25 21:09:49 +08:00
<div>
<div
2017-09-20 16:26:18 +08:00
style="margin-bottom:16px"
>
2016-12-25 21:09:49 +08:00
<span
2017-09-20 16:26:18 +08:00
style="margin-right:6px"
>
Horizontal Gutter (px):
</span>
<div
style="width:50%"
>
<div
class="ant-slider ant-slider-with-marks"
>
<div
class="ant-slider-rail"
/>
<div
class="ant-slider-track"
2019-10-15 16:33:17 +08:00
style="left:0%;width:20%"
/>
<div
class="ant-slider-step"
>
<span
class="ant-slider-dot ant-slider-dot-active"
style="left:0%"
/>
<span
class="ant-slider-dot ant-slider-dot-active"
style="left:20%"
/>
<span
class="ant-slider-dot"
style="left:40%"
/>
<span
class="ant-slider-dot"
style="left:60%"
/>
<span
class="ant-slider-dot"
style="left:80%"
/>
<span
class="ant-slider-dot"
style="left:100%"
/>
</div>
<div
aria-disabled="false"
aria-valuemax="5"
aria-valuemin="0"
aria-valuenow="1"
class="ant-slider-handle"
role="slider"
2019-10-15 16:33:17 +08:00
style="left:20%"
tabindex="0"
/>
<div
class="ant-slider-mark"
>
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:0%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
8
</span>
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:20%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
16
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:40%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
24
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:60%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
32
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:80%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
40
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:100%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
48
</span>
</div>
</div>
</div>
<span
style="margin-right:6px"
>
Vertical Gutter (px):
2016-12-25 21:09:49 +08:00
</span>
<div
2017-09-20 16:26:18 +08:00
style="width:50%"
>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider ant-slider-with-marks"
>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-rail"
/>
2016-12-25 21:09:49 +08:00
<div
2017-02-17 12:11:54 +08:00
class="ant-slider-track"
2019-10-15 16:33:17 +08:00
style="left:0%;width:20%"
/>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-step"
>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot ant-slider-dot-active"
2017-09-20 16:26:18 +08:00
style="left:0%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot ant-slider-dot-active"
2017-09-20 16:26:18 +08:00
style="left:20%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:40%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:60%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:80%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:100%"
/>
2016-12-25 21:09:49 +08:00
</div>
<div
aria-disabled="false"
aria-valuemax="5"
aria-valuemin="0"
aria-valuenow="1"
class="ant-slider-handle"
role="slider"
2019-10-15 16:33:17 +08:00
style="left:20%"
tabindex="0"
/>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-mark"
>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:0%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
8
</span>
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:20%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
16
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:40%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
24
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:60%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
32
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:80%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
40
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:100%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
48
</span>
</div>
</div>
</div>
<span
2017-09-20 16:26:18 +08:00
style="margin-right:6px"
>
2016-12-25 21:09:49 +08:00
Column Count:
</span>
<div
2017-09-20 16:26:18 +08:00
style="width:50%"
>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider ant-slider-with-marks"
>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-rail"
/>
2016-12-25 21:09:49 +08:00
<div
2017-02-17 12:11:54 +08:00
class="ant-slider-track"
2019-10-15 16:33:17 +08:00
style="left:0%;width:40%"
/>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-step"
>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot ant-slider-dot-active"
2017-09-20 16:26:18 +08:00
style="left:0%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot ant-slider-dot-active"
2017-09-20 16:26:18 +08:00
style="left:20%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot ant-slider-dot-active"
2017-09-20 16:26:18 +08:00
style="left:40%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:60%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:80%"
/>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-dot"
2017-09-20 16:26:18 +08:00
style="left:100%"
/>
2016-12-25 21:09:49 +08:00
</div>
<div
aria-disabled="false"
aria-valuemax="5"
aria-valuemin="0"
aria-valuenow="2"
class="ant-slider-handle"
role="slider"
2019-10-15 16:33:17 +08:00
style="left:40%"
tabindex="0"
/>
2016-12-25 21:09:49 +08:00
<div
class="ant-slider-mark"
>
2016-12-25 21:09:49 +08:00
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:0%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
2
</span>
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:20%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
3
</span>
<span
class="ant-slider-mark-text ant-slider-mark-text-active"
2019-10-15 16:33:17 +08:00
style="left:40%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
4
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:60%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
6
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:80%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
8
</span>
<span
class="ant-slider-mark-text"
2019-10-15 16:33:17 +08:00
style="left:100%;transform:translateX(-50%);-ms-transform:translateX(-50%)"
>
2016-12-25 21:09:49 +08:00
12
</span>
</div>
</div>
</div>
</div>
<div
class="ant-row"
style="margin-left:-8px;margin-right:-8px;margin-top:-8px;margin-bottom:-8px"
>
2016-12-25 21:09:49 +08:00
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
2016-12-25 21:09:49 +08:00
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
2016-12-25 21:09:49 +08:00
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
2016-12-25 21:09:49 +08:00
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
2016-12-25 21:09:49 +08:00
<div>
Column
</div>
</div>
</div>
<div
class="ant-row"
style="margin-left:-8px;margin-right:-8px;margin-top:-8px;margin-bottom:-8px"
>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
<div>
Column
</div>
</div>
<div
class="ant-col ant-col-6"
style="padding-left:8px;padding-right:8px;padding-top:8px;padding-bottom:8px"
>
<div>
Column
</div>
</div>
</div>
<pre>
&lt;Row gutter={[16, 16]}&gt;
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;/Row&gt;
</pre>
2016-12-26 11:16:28 +08:00
<pre>
&lt;Row gutter={[16, 16]}&gt;
2017-10-09 13:32:11 +08:00
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;Col span={6} /&gt;
&lt;/Row&gt;
2016-12-26 11:16:28 +08:00
</pre>
2016-12-25 21:09:49 +08:00
</div>
`;
2017-12-18 15:50:09 +08:00
exports[`renders ./components/grid/demo/responsive.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-xs-2 ant-col-sm-4 ant-col-md-6 ant-col-lg-8 ant-col-xl-10"
>
2016-11-22 14:28:05 +08:00
Col
</div>
<div
class="ant-col ant-col-xs-20 ant-col-sm-16 ant-col-md-12 ant-col-lg-8 ant-col-xl-4"
>
2016-11-22 14:28:05 +08:00
Col
</div>
<div
class="ant-col ant-col-xs-2 ant-col-sm-4 ant-col-md-6 ant-col-lg-8 ant-col-xl-10"
>
2016-11-22 14:28:05 +08:00
Col
</div>
</div>
`;
2017-12-18 15:50:09 +08:00
exports[`renders ./components/grid/demo/responsive-more.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-xs-5 ant-col-xs-offset-1 ant-col-lg-6 ant-col-lg-offset-2"
>
2016-11-22 14:28:05 +08:00
Col
</div>
<div
class="ant-col ant-col-xs-11 ant-col-xs-offset-1 ant-col-lg-6 ant-col-lg-offset-2"
>
2016-11-22 14:28:05 +08:00
Col
</div>
<div
class="ant-col ant-col-xs-5 ant-col-xs-offset-1 ant-col-lg-6 ant-col-lg-offset-2"
>
2016-11-22 14:28:05 +08:00
Col
</div>
</div>
`;
exports[`renders ./components/grid/demo/sort.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class="ant-row"
>
2016-11-22 14:28:05 +08:00
<div
class="ant-col ant-col-18 ant-col-push-6"
>
2016-11-22 14:28:05 +08:00
col-18 col-push-6
</div>
<div
class="ant-col ant-col-6 ant-col-pull-18"
>
2016-11-22 14:28:05 +08:00
col-6 col-pull-18
</div>
</div>
</div>
`;