ant-design/components/message/__tests__/__snapshots__/demo.test.js.snap
Kermit Xuan 67a482f4e5
fix(#16659): support className and style for message (#24024)
* fix(#16659): support className and style for message;

* docs(message): update demo custom-style;
2020-05-11 12:11:15 +08:00

113 lines
1.8 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/message/demo/custom-style.md correctly 1`] = `
<button
class="ant-btn"
type="button"
>
<span>
Customized style
</span>
</button>
`;
exports[`renders ./components/message/demo/duration.md correctly 1`] = `
<button
class="ant-btn"
type="button"
>
<span>
Customized display duration
</span>
</button>
`;
exports[`renders ./components/message/demo/info.md correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Display normal message
</span>
</button>
`;
exports[`renders ./components/message/demo/loading.md correctly 1`] = `
<button
class="ant-btn"
type="button"
>
<span>
Display a loading indicator
</span>
</button>
`;
exports[`renders ./components/message/demo/other.md 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"
type="button"
>
<span>
Success
</span>
</button>
</div>
<div
class="ant-space-item"
style="margin-right:8px"
>
<button
class="ant-btn"
type="button"
>
<span>
Error
</span>
</button>
</div>
<div
class="ant-space-item"
>
<button
class="ant-btn"
type="button"
>
<span>
Warning
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/message/demo/thenable.md correctly 1`] = `
<button
class="ant-btn"
type="button"
>
<span>
Display sequential messages
</span>
</button>
`;
exports[`renders ./components/message/demo/update.md correctly 1`] = `
<button
class="ant-btn ant-btn-primary"
type="button"
>
<span>
Open the message box
</span>
</button>
`;