mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-04 04:58:55 +08:00
d7498c0af6
* refactor: use Checkbox directly * test: add test case for Transfer
144 lines
3.5 KiB
Plaintext
144 lines
3.5 KiB
Plaintext
exports[`Transfer should render correctly 1`] = `
|
|
<div
|
|
class="ant-transfer">
|
|
<div
|
|
class="ant-transfer-list">
|
|
<div
|
|
class="ant-transfer-list-header">
|
|
<label
|
|
class="ant-checkbox-wrapper">
|
|
<span
|
|
class="ant-checkbox ant-checkbox-checked ant-checkbox-checked-1">
|
|
<span
|
|
class="ant-checkbox-inner" />
|
|
<input
|
|
checked=""
|
|
class="ant-checkbox-input"
|
|
type="checkbox" />
|
|
</span>
|
|
</label>
|
|
<span
|
|
class="ant-transfer-list-header-selected">
|
|
<span>
|
|
1/2
|
|
</span>
|
|
<span
|
|
class="ant-transfer-list-header-title" />
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-body">
|
|
<ul
|
|
class="ant-transfer-list-content">
|
|
<li
|
|
class="ant-transfer-list-content-item">
|
|
<label
|
|
class="ant-checkbox-wrapper">
|
|
<span
|
|
class="ant-checkbox ant-checkbox-checked ant-checkbox-checked-1">
|
|
<span
|
|
class="ant-checkbox-inner" />
|
|
<input
|
|
checked=""
|
|
class="ant-checkbox-input"
|
|
type="checkbox" />
|
|
</span>
|
|
</label>
|
|
<span />
|
|
</li>
|
|
<li
|
|
class="ant-transfer-list-content-item ant-transfer-list-content-item-disabled">
|
|
<label
|
|
class="ant-checkbox-wrapper">
|
|
<span
|
|
class="ant-checkbox ant-checkbox-disabled">
|
|
<span
|
|
class="ant-checkbox-inner" />
|
|
<input
|
|
class="ant-checkbox-input"
|
|
disabled=""
|
|
type="checkbox" />
|
|
</span>
|
|
</label>
|
|
<span />
|
|
</li>
|
|
</ul>
|
|
<div
|
|
class="ant-transfer-list-body-not-found">
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-operation">
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
disabled=""
|
|
type="button">
|
|
<span>
|
|
<i
|
|
class="anticon anticon-left" />
|
|
</span>
|
|
</button>
|
|
<button
|
|
class="ant-btn ant-btn-primary ant-btn-sm"
|
|
type="button">
|
|
<span>
|
|
<i
|
|
class="anticon anticon-right" />
|
|
</span>
|
|
</button>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list">
|
|
<div
|
|
class="ant-transfer-list-header">
|
|
<label
|
|
class="ant-checkbox-wrapper">
|
|
<span
|
|
class="ant-checkbox">
|
|
<span
|
|
class="ant-checkbox-inner" />
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox" />
|
|
</span>
|
|
</label>
|
|
<span
|
|
class="ant-transfer-list-header-selected">
|
|
<span>
|
|
1
|
|
</span>
|
|
<span
|
|
class="ant-transfer-list-header-title" />
|
|
</span>
|
|
</div>
|
|
<div
|
|
class="ant-transfer-list-body">
|
|
<ul
|
|
class="ant-transfer-list-content">
|
|
<li
|
|
class="ant-transfer-list-content-item">
|
|
<label
|
|
class="ant-checkbox-wrapper">
|
|
<span
|
|
class="ant-checkbox">
|
|
<span
|
|
class="ant-checkbox-inner" />
|
|
<input
|
|
class="ant-checkbox-input"
|
|
type="checkbox" />
|
|
</span>
|
|
</label>
|
|
<span />
|
|
</li>
|
|
</ul>
|
|
<div
|
|
class="ant-transfer-list-body-not-found">
|
|
Not Found
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|