2017-03-17 18:56:30 +08:00
|
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
|
|
exports[`renders ./components/popconfirm/demo/basic.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a
|
2017-03-17 18:56:30 +08:00
|
|
|
|
href="#"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Delete
|
|
|
|
|
</a>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/popconfirm/demo/dynamic-trigger.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div>
|
|
|
|
|
<a
|
2017-03-17 18:56:30 +08:00
|
|
|
|
href="#"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Delete a task
|
|
|
|
|
</a>
|
|
|
|
|
<br />
|
|
|
|
|
<br />
|
|
|
|
|
Whether directly execute:
|
|
|
|
|
<span
|
|
|
|
|
class="ant-switch ant-switch-checked"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
tabindex="0"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="ant-switch-inner"
|
|
|
|
|
/>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/popconfirm/demo/locale.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<a
|
2017-03-17 18:56:30 +08:00
|
|
|
|
href="#"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
Delete
|
|
|
|
|
</a>
|
|
|
|
|
`;
|
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
|
exports[`renders ./components/popconfirm/demo/placement.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
class="demo"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
style="margin-left:70px;white-space:nowrap;"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
TL
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
Top
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
TR
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
style="width:70px;float:left;"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
LT
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
Left
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
LB
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
style="width:70px;margin-left:304px;"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
RT
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
Right
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
RB
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
<div
|
2017-03-17 18:56:30 +08:00
|
|
|
|
style="margin-left:70px;clear:both;white-space:nowrap;"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
BL
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
Bottom
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
<button
|
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
|
type="button"
|
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
|
<span>
|
|
|
|
|
BR
|
|
|
|
|
</span>
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
`;
|