ant-design/components/message/__tests__/__snapshots__/demo.test.js.snap
Jinxuan Zhu c2519e776b Add promise-like interface (#10470)
* Add promise-like interface

* Keep hide interface

* Shorten

* Test Promise

* Update document

* Update demo: 2.5 second is insignificant with the default 3s hiding

* Update demo: then  interface

* Fix line break

* Chainable

* Thenable demo

* Thenable test

* Fix tsc error

* Fix tsc error

* Better document

* Revert change in loading.md

* Change snapshot
2018-05-25 20:41:07 +08:00

75 lines
1.1 KiB
Plaintext

// Jest Snapshot v1, https://goo.gl/fbAQLP
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>
<button
class="ant-btn"
type="button"
>
<span>
Success
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
Error
</span>
</button>
<button
class="ant-btn"
type="button"
>
<span>
Warning
</span>
</button>
</div>
`;
exports[`renders ./components/message/demo/thenable.md correctly 1`] = `
<button
class="ant-btn"
type="button"
>
<span>
Display a sequence of message
</span>
</button>
`;