diff options
Diffstat (limited to 'subprojects/frontend/src/Refinery.tsx')
-rw-r--r-- | subprojects/frontend/src/Refinery.tsx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/subprojects/frontend/src/Refinery.tsx b/subprojects/frontend/src/Refinery.tsx new file mode 100644 index 00000000..41f835b3 --- /dev/null +++ b/subprojects/frontend/src/Refinery.tsx | |||
@@ -0,0 +1,21 @@ | |||
1 | import Grow from '@mui/material/Grow'; | ||
2 | import Stack from '@mui/material/Stack'; | ||
3 | import { SnackbarProvider } from 'notistack'; | ||
4 | import React from 'react'; | ||
5 | |||
6 | import TopBar from './TopBar'; | ||
7 | import UpdateNotification from './UpdateNotification'; | ||
8 | import EditorPane from './editor/EditorPane'; | ||
9 | |||
10 | export default function Refinery(): JSX.Element { | ||
11 | return ( | ||
12 | // @ts-expect-error -- notistack has problems with `exactOptionalPropertyTypes | ||
13 | <SnackbarProvider TransitionComponent={Grow}> | ||
14 | <UpdateNotification /> | ||
15 | <Stack direction="column" height="100vh" overflow="auto"> | ||
16 | <TopBar /> | ||
17 | <EditorPane /> | ||
18 | </Stack> | ||
19 | </SnackbarProvider> | ||
20 | ); | ||
21 | } | ||