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.
18 lines
428 B
18 lines
428 B
2 years ago
|
import React from 'react';
|
||
|
import { FloatButton } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<div style={{ height: '500vh', padding: 10 }}>
|
||
|
<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>
|
||
|
<FloatButton.BackTop />
|
||
|
</div>
|
||
|
);
|
||
|
|
||
|
export default App;
|