Skip to content

Commit 14667f0

Browse files
committed
website: add back to up button.
1 parent 29255df commit 14667f0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

www/src/App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import GitHubCorners from '@uiw/react-github-corners';
22
import CSVReader from '@uiw/react-csv-reader';
33
import JsonView from '@uiw/react-json-view';
44
import { lightTheme } from '@uiw/react-json-view/light';
5+
import BackToUp from '@uiw/react-back-to-top';
56
import { styled } from "goober";
67
import { CSSProperties, useState } from 'react';
78
import MarkdownPreview from './Markdown';
@@ -65,6 +66,7 @@ export default function App() {
6566
</Examples>
6667
</Header>
6768
<MarkdownPreview />
69+
<BackToUp>Top</BackToUp>
6870
</Wrappper>
6971
);
7072
}

0 commit comments

Comments
 (0)