mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-15 17:31:25 +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
503 B
503 B
order | title | ||||
---|---|---|---|---|---|
0 |
|
zh-CN
最简单的用法。
en-US
The most basic usage.
import { BackTop } from 'antd';
ReactDOM.render(
<>
<BackTop />
Scroll down to see the bottom-right
<strong className="site-back-top-basic"> gray </strong>
button.
</>,
mountNode,
);
.site-back-top-basic {
color: rgba(64, 64, 64, 0.6);
}