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

78 lines
1.2 KiB
Plaintext
Raw Normal View History

// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`renders ./components/affix/demo/basic.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div>
<div
class=""
>
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>
Affix top
</span>
</button>
</div>
</div>
<br />
<div>
<div
class=""
>
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>
Affix bottom
</span>
</button>
</div>
</div>
</div>
`;
exports[`renders ./components/affix/demo/on-change.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div>
<div
class=""
>
2016-11-22 14:28:05 +08:00
<button
class="ant-btn"
type="button"
>
2016-11-22 14:28:05 +08:00
<span>
120px to affix top
</span>
</button>
</div>
</div>
`;
exports[`renders ./components/affix/demo/target.md correctly 1`] = `
2016-11-22 14:28:05 +08:00
<div
class="scrollable-container"
>
2016-11-22 14:28:05 +08:00
<div
class="background"
>
2016-12-03 16:23:35 +08:00
<div>
<div
class=""
>
2016-12-03 16:23:35 +08:00
<button
class="ant-btn ant-btn-primary"
type="button"
>
2016-12-03 16:23:35 +08:00
<span>
Fixed at the top of container
</span>
</button>
2016-11-22 14:28:05 +08:00
</div>
</div>
</div>
</div>
`;