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"
|
|
|
|
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
|
|
|
|
ant-select-selection--single"
|
|
|
|
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"
|
|
|
|
style="display:block;opacity:1;"
|
|
|
|
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"
|
|
|
|
style="user-select:none;-webkit-user-select:none;"
|
|
|
|
unselectable="unselectable"
|
|
|
|
>
|
|
|
|
<b />
|
|
|
|
</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>
|
|
|
|
`;
|
|
|
|
|
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>
|
|
|
|
`;
|