You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
109 lines
1.6 KiB
109 lines
1.6 KiB
8 years ago
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||
|
|
||
|
exports[`renders ./components/affix/demo/basic.md correctly 1`] = `
|
||
8 years ago
|
<div>
|
||
|
<div>
|
||
|
<div
|
||
8 years ago
|
class=""
|
||
|
>
|
||
8 years ago
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
8 years ago
|
type="button"
|
||
|
>
|
||
8 years ago
|
<span>
|
||
|
Affix top
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
<br />
|
||
|
<div>
|
||
|
<div
|
||
8 years ago
|
class=""
|
||
|
>
|
||
8 years ago
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
8 years ago
|
type="button"
|
||
|
>
|
||
8 years ago
|
<span>
|
||
|
Affix bottom
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
`;
|
||
|
|
||
5 years ago
|
exports[`renders ./components/affix/demo/debug.md correctly 1`] = `
|
||
|
<div
|
||
|
style="height:10000px"
|
||
|
>
|
||
|
<div>
|
||
|
Top
|
||
|
</div>
|
||
|
<div>
|
||
|
<div
|
||
|
class=""
|
||
|
>
|
||
|
<div
|
||
|
style="background:red"
|
||
|
>
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button"
|
||
|
>
|
||
|
<span>
|
||
|
Affix top
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
<div>
|
||
|
Bottom
|
||
|
</div>
|
||
|
</div>
|
||
|
`;
|
||
|
|
||
8 years ago
|
exports[`renders ./components/affix/demo/on-change.md correctly 1`] = `
|
||
8 years ago
|
<div>
|
||
|
<div
|
||
8 years ago
|
class=""
|
||
|
>
|
||
8 years ago
|
<button
|
||
|
class="ant-btn"
|
||
8 years ago
|
type="button"
|
||
|
>
|
||
8 years ago
|
<span>
|
||
|
120px to affix top
|
||
|
</span>
|
||
|
</button>
|
||
|
</div>
|
||
|
</div>
|
||
|
`;
|
||
|
|
||
8 years ago
|
exports[`renders ./components/affix/demo/target.md correctly 1`] = `
|
||
8 years ago
|
<div
|
||
8 years ago
|
class="scrollable-container"
|
||
|
>
|
||
8 years ago
|
<div
|
||
8 years ago
|
class="background"
|
||
|
>
|
||
8 years ago
|
<div>
|
||
|
<div
|
||
8 years ago
|
class=""
|
||
|
>
|
||
8 years ago
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
8 years ago
|
type="button"
|
||
|
>
|
||
8 years ago
|
<span>
|
||
|
Fixed at the top of container
|
||
|
</span>
|
||
|
</button>
|
||
8 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
`;
|