mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-05 05:28:20 +08:00
f6b1e942e3
* Upgeade to jest 19 * Use jest.spyOn
78 lines
1.2 KiB
Plaintext
78 lines
1.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/affix/demo/basic.md correctly 1`] = `
|
|
<div>
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button"
|
|
>
|
|
<span>
|
|
Affix top
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<br />
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button"
|
|
>
|
|
<span>
|
|
Affix bottom
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/affix/demo/on-change.md correctly 1`] = `
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<button
|
|
class="ant-btn"
|
|
type="button"
|
|
>
|
|
<span>
|
|
120px to affix top
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`renders ./components/affix/demo/target.md correctly 1`] = `
|
|
<div
|
|
class="scrollable-container"
|
|
>
|
|
<div
|
|
class="background"
|
|
>
|
|
<div>
|
|
<div
|
|
class=""
|
|
>
|
|
<button
|
|
class="ant-btn ant-btn-primary"
|
|
type="button"
|
|
>
|
|
<span>
|
|
Fixed at the top of container
|
|
</span>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|