2017-03-17 18:56:30 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`renders ./components/notification/demo/basic.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>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/notification/demo/custom-icon.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>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-05-05 14:47:37 +08:00
|
|
|
exports[`renders ./components/notification/demo/custom-style.md correctly 1`] = `
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/notification/demo/duration.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>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
|
2017-01-27 17:12:25 +08:00
|
|
|
<div>
|
|
|
|
<div
|
2017-09-15 16:42:25 +08:00
|
|
|
class="ant-select ant-select-enabled"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="width:120px;margin-right:10px"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-01-27 17:12:25 +08:00
|
|
|
<div
|
2017-09-15 16:42:25 +08:00
|
|
|
aria-autocomplete="list"
|
|
|
|
aria-expanded="false"
|
|
|
|
aria-haspopup="true"
|
|
|
|
class="ant-select-selection
|
2017-10-09 13:32:11 +08:00
|
|
|
ant-select-selection--single"
|
2017-09-15 16:42:25 +08:00
|
|
|
role="combobox"
|
|
|
|
tabindex="0"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-01-27 17:12:25 +08:00
|
|
|
<div
|
2017-09-15 16:42:25 +08:00
|
|
|
class="ant-select-selection__rendered"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-01-27 17:12:25 +08:00
|
|
|
<div
|
2017-09-15 16:42:25 +08:00
|
|
|
class="ant-select-selection-selected-value"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="display:block;opacity:1"
|
2017-09-15 16:42:25 +08:00
|
|
|
title="topRight"
|
2017-03-17 18:56:30 +08:00
|
|
|
>
|
2017-09-15 16:42:25 +08:00
|
|
|
topRight
|
2017-01-27 17:12:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-09-15 16:42:25 +08:00
|
|
|
<span
|
|
|
|
class="ant-select-arrow"
|
2017-09-20 16:26:18 +08:00
|
|
|
style="user-select:none;-webkit-user-select:none"
|
2018-04-29 23:01:58 +08:00
|
|
|
unselectable="on"
|
2017-09-15 16:42:25 +08:00
|
|
|
>
|
2018-08-13 14:46:55 +08:00
|
|
|
<i
|
2018-08-13 20:51:01 +08:00
|
|
|
class="anticon anticon-down ant-select-arrow-icon"
|
2018-09-02 19:25:04 +08:00
|
|
|
/>
|
2017-09-15 16:42:25 +08:00
|
|
|
</span>
|
2017-01-27 17:12:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2017-01-27 17:12:25 +08:00
|
|
|
<span>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2018-05-04 18:15:28 +08:00
|
|
|
exports[`renders ./components/notification/demo/update.md correctly 1`] = `
|
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
|
|
|
type="button"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/notification/demo/with-btn.md correctly 1`] = `
|
2016-12-14 18:11:01 +08:00
|
|
|
<button
|
|
|
|
class="ant-btn ant-btn-primary"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-12-14 18:11:01 +08:00
|
|
|
<span>
|
|
|
|
Open the notification box
|
|
|
|
</span>
|
|
|
|
</button>
|
2016-11-22 14:28:05 +08:00
|
|
|
`;
|
|
|
|
|
2017-03-17 18:56:30 +08:00
|
|
|
exports[`renders ./components/notification/demo/with-icon.md correctly 1`] = `
|
2016-11-22 14:28:05 +08:00
|
|
|
<div>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Success
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Info
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Warning
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
<button
|
|
|
|
class="ant-btn"
|
2017-03-17 18:56:30 +08:00
|
|
|
type="button"
|
|
|
|
>
|
2016-11-22 14:28:05 +08:00
|
|
|
<span>
|
|
|
|
Error
|
|
|
|
</span>
|
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
`;
|