mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
172 lines
4.6 KiB
Plaintext
172 lines
4.6 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"
|
|
>
|
|
<span
|
|
class="ant-table-header-column"
|
|
>
|
|
<div>
|
|
<span
|
|
class="ant-table-column-title"
|
|
>
|
|
Name
|
|
</span>
|
|
<span
|
|
class="ant-table-column-sorter"
|
|
/>
|
|
</div>
|
|
</span>
|
|
</th>
|
|
<th
|
|
class=""
|
|
rowspan="2"
|
|
>
|
|
<span
|
|
class="ant-table-header-column"
|
|
>
|
|
<div>
|
|
<span
|
|
class="ant-table-column-title"
|
|
>
|
|
Age
|
|
</span>
|
|
<span
|
|
class="ant-table-column-sorter"
|
|
/>
|
|
</div>
|
|
</span>
|
|
</th>
|
|
</tr>
|
|
<tr>
|
|
<th
|
|
class=""
|
|
>
|
|
<span
|
|
class="ant-table-header-column"
|
|
>
|
|
<div>
|
|
<span
|
|
class="ant-table-column-title"
|
|
>
|
|
First Name
|
|
</span>
|
|
<span
|
|
class="ant-table-column-sorter"
|
|
/>
|
|
</div>
|
|
</span>
|
|
</th>
|
|
<th
|
|
class=""
|
|
>
|
|
<span
|
|
class="ant-table-header-column"
|
|
>
|
|
<div>
|
|
<span
|
|
class="ant-table-column-title"
|
|
>
|
|
Last Name
|
|
</span>
|
|
<span
|
|
class="ant-table-column-sorter"
|
|
/>
|
|
</div>
|
|
</span>
|
|
</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>
|
|
`;
|