mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-30 04:18:28 +08:00
72 lines
1.2 KiB
Plaintext
72 lines
1.2 KiB
Plaintext
|
exports[`test 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[`test 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[`test renders ./components/affix/demo/target.md correctly 1`] = `
|
||
|
<div
|
||
|
class="view-port">
|
||
|
<div
|
||
|
id="scrollable-container">
|
||
|
<div
|
||
|
class="background">
|
||
|
<br />
|
||
|
<br />
|
||
|
<br />
|
||
|
<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>
|
||
|
</div>
|
||
|
`;
|