mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-16 01:41:02 +08:00
aca2656721
* docs: 🎬 improve BackTop demo * fix Backtop not working in iframe * fix lint * fix ci * fix ci * ✅ add more test case * ✅ add more test cases * fix ci
48 lines
718 B
Plaintext
48 lines
718 B
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`renders ./components/back-top/demo/basic.md correctly 1`] = `
|
|
Array [
|
|
<div
|
|
class="ant-back-top"
|
|
/>,
|
|
"Scroll down to see the bottom-right",
|
|
<strong
|
|
class="site-back-top-basic"
|
|
>
|
|
gray
|
|
</strong>,
|
|
"button.",
|
|
]
|
|
`;
|
|
|
|
exports[`renders ./components/back-top/demo/custom.md correctly 1`] = `
|
|
<div
|
|
style="height:600vh;padding:8px"
|
|
>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div>
|
|
Scroll to bottom
|
|
</div>
|
|
<div
|
|
class="ant-back-top"
|
|
/>
|
|
</div>
|
|
`;
|