ant-design/components/notification/__tests__/__snapshots__/demo.test.js.snap

153 lines
2.7 KiB
Plaintext
Raw Normal View History

// 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"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Open the notification box
</span>
</button>
`;
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"
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>
`;
exports[`renders ./components/notification/demo/duration.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<button
class="ant-btn ant-btn-primary"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Open the notification box
</span>
</button>
`;
exports[`renders ./components/notification/demo/placement.md correctly 1`] = `
<div>
<div
class="ant-select ant-select-enabled"
2017-09-20 16:26:18 +08:00
style="width:120px;margin-right:10px"
>
<div
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"
role="combobox"
tabindex="0"
>
<div
class="ant-select-selection__rendered"
>
<div
class="ant-select-selection-selected-value"
2017-09-20 16:26:18 +08:00
style="display:block;opacity:1"
title="topRight"
>
topRight
</div>
</div>
<span
class="ant-select-arrow"
2017-09-20 16:26:18 +08:00
style="user-select:none;-webkit-user-select:none"
unselectable="on"
>
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
/>
</span>
</div>
</div>
<button
class="ant-btn ant-btn-primary"
type="button"
>
<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>
`;
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"
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
`;
exports[`renders ./components/notification/demo/with-icon.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Success
</span>
</button>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Info
</span>
</button>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Warning
</span>
</button>
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
Error
</span>
</button>
</div>
`;