ant-design/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap
2017-10-09 19:18:04 +08:00

158 lines
2.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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