ant-design/components/table/__tests__/__snapshots__/Table.test.js.snap
2018-09-21 13:41:08 +08:00

136 lines
3.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Table renders JSX correctly 1`] = `
<div
class="ant-table-wrapper"
>
<div
class="ant-spin-nested-loading"
>
<div
class="ant-spin-container"
>
<div
class="ant-table ant-table-default ant-table-scroll-position-left"
>
<div
class="ant-table-content"
>
<div
class="ant-table-body"
>
<table
class=""
>
<colgroup>
<col />
<col />
<col />
</colgroup>
<thead
class="ant-table-thead"
>
<tr>
<th
class=""
colspan="2"
>
<div
title="Sort"
>
Name
</div>
</th>
<th
class=""
rowspan="2"
>
<div
title="Sort"
>
Age
</div>
</th>
</tr>
<tr>
<th
class=""
>
<div
title="Sort"
>
First Name
</div>
</th>
<th
class=""
>
<div
title="Sort"
>
Last Name
</div>
</th>
</tr>
</thead>
<tbody
class="ant-table-tbody"
>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="1"
>
<td
class=""
>
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px"
/>
John
</td>
<td
class=""
>
Brown
</td>
<td
class=""
>
32
</td>
</tr>
<tr
class="ant-table-row ant-table-row-level-0"
data-row-key="2"
>
<td
class=""
>
<span
class="ant-table-row-indent indent-level-0"
style="padding-left:0px"
/>
Jim
</td>
<td
class=""
>
Green
</td>
<td
class=""
>
42
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
`;