mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
67a482f4e5
* fix(#16659): support className and style for message; * docs(message): update demo custom-style;
113 lines
1.8 KiB
Plaintext
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>
|
|
`;
|