mirror of
https://github.com/ant-design/ant-design.git
synced 2024-12-22 22:48:29 +08:00
14 lines
253 B
TypeScript
14 lines
253 B
TypeScript
|
import React from 'react';
|
||
|
import { BackTop } from 'antd';
|
||
|
|
||
|
const App: React.FC = () => (
|
||
|
<>
|
||
|
<BackTop />
|
||
|
Scroll down to see the bottom-right
|
||
|
<strong className="site-back-top-basic"> gray </strong>
|
||
|
button.
|
||
|
</>
|
||
|
);
|
||
|
|
||
|
export default App;
|