2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2020-05-11 12:11:15 +08:00
|
|
|
exports[`renders ./components/message/demo/custom-style.md correctly 1`] = `
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-05-11 12:11:15 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Customized style
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/message/demo/duration.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Customized display duration
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2020-07-15 19:51:56 +08:00
|
|
|
exports[`renders ./components/message/demo/hooks.md correctly 1`] = `
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Display normal message
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/message/demo/info.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Display normal message
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/message/demo/loading.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Display a loading indicator
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/message/demo/other.md correctly 1`] = `
|
2020-04-30 21:04:19 +08:00
|
|
|
<div
|
|
|
|
class="ant-space ant-space-horizontal ant-space-align-center"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-04-30 21:04:19 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-04-30 21:04:19 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Success
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
|
|
|
style="margin-right:8px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-04-30 21:04:19 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-04-30 21:04:19 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Error
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="ant-space-item"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2020-04-30 21:04:19 +08:00
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2020-04-30 21:04:19 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Warning
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
2016-11-22 14:28:05 +08:00
|
|
|
</div>
|
|
|
|
`;
|
2018-05-25 20:41:07 +08:00
|
|
|
|
|
|
|
exports[`renders ./components/message/demo/thenable.md correctly 1`] = `
|
|
|
|
<button
|
2022-02-11 15:02:59 +08:00
|
|
|
class="ant-btn ant-btn-default"
|
2018-05-25 20:41:07 +08:00
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
2019-04-20 23:38:02 +08:00
|
|
|
Display sequential messages
|
2018-05-25 20:41:07 +08:00
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
2019-09-05 10:15:14 +08:00
|
|
|
|
|
|
|
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>
|
|
|
|
`;
|