ant-design/components/message/__tests__/__snapshots__/demo-extend.test.ts.snap
二货机器人 ec21769ec0
chore: Notification add PurePanel (#35948)
* chore: Notification add purePanel

* test: Update snapshot

* test: Update snapshot
2022-06-08 17:01:26 +08:00

161 lines
3.3 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/message/demo/custom-style.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Customized style
</span>
</button>
`;
exports[`renders ./components/message/demo/duration.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Customized display duration
</span>
</button>
`;
exports[`renders ./components/message/demo/hooks.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Display normal message
</span>
</button>
`;
exports[`renders ./components/message/demo/info.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Display normal message
</span>
</button>
`;
exports[`renders ./components/message/demo/loading.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Display a loading indicator
</span>
</button>
`;
exports[`renders ./components/message/demo/other.md extend context correctly 1`] = `
<div
class="ant-space ant-space-horizontal ant-space-align-center"
>
<div
class="ant-space-item"
style="margin-right:8px"
>
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Success
</span>
</button>
</div>
<div
class="ant-space-item"
style="margin-right:8px"
>
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Error
</span>
</button>
</div>
<div
class="ant-space-item"
>
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Warning
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/message/demo/render-panel.md extend context correctly 1`] = `
<div
class="ant-message-notice ant-message-notice-pure-panel"
>
<div
class="ant-message-notice-content"
>
<div
class="ant-message-custom-content ant-message-error"
>
<span
aria-label="close-circle"
class="anticon anticon-close-circle"
role="img"
>
<svg
aria-hidden="true"
data-icon="close-circle"
fill="currentColor"
focusable="false"
height="1em"
viewBox="64 64 896 896"
width="1em"
>
<path
d="M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm165.4 618.2l-66-.3L512 563.4l-99.3 118.4-66.1.3c-4.4 0-8-3.5-8-8 0-1.9.7-3.7 1.9-5.2l130.1-155L340.5 359a8.32 8.32 0 01-1.9-5.2c0-4.4 3.6-8 8-8l66.1.3L512 464.6l99.3-118.4 66-.3c4.4 0 8 3.5 8 8 0 1.9-.7 3.7-1.9 5.2L553.5 514l130 155c1.2 1.5 1.9 3.3 1.9 5.2 0 4.4-3.6 8-8 8z"
/>
</svg>
</span>
<span>
Hello World!
</span>
</div>
</div>
</div>
`;
exports[`renders ./components/message/demo/thenable.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-default"
type="button"
>
<span>
Display sequential messages
</span>
</button>
`;
exports[`renders ./components/message/demo/update.md extend context correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Open the message box
</span>
</button>
`;