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.
66 lines
1.1 KiB
66 lines
1.1 KiB
8 years ago
|
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
|
||
8 years ago
|
class="scrollable-container">
|
||
8 years ago
|
<div
|
||
8 years ago
|
class="background">
|
||
|
<div>
|
||
|
<div
|
||
|
class="">
|
||
|
<button
|
||
|
class="ant-btn ant-btn-primary"
|
||
|
type="button">
|
||
|
<span>
|
||
|
Fixed at the top of container
|
||
|
</span>
|
||
|
</button>
|
||
8 years ago
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
</div>
|
||
|
`;
|