ant-design/components/popconfirm/__tests__/__snapshots__/demo.test.js.snap
二货机器人 75b090aff3
fix: Switch trigger motion (#24254)
* init fix

* fix rtl

* clean up

* update snapshot

* fix style lint

* add motion of inner

* update un-checked focus style
2020-05-18 17:31:46 +08:00

171 lines
2.5 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
<button
aria-checked="true"
class="ant-switch ant-switch-checked"
role="switch"
type="button"
>
<div
class="ant-switch-handle"
/>
<span
class="ant-switch-inner"
/>
</button>
</div>
`;
exports[`renders ./components/popconfirm/demo/icon.md correctly 1`] = `
<a
href="#"
>
Delete
</a>
`;
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>
`;