ant-design/components/transfer/__tests__/__snapshots__/index.test.js.snap
Benjy Cui d7498c0af6 Test transfer (#4191)
* refactor: use Checkbox directly

* test: add test case for Transfer
2016-12-16 17:59:52 +08:00

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>
`;