From 8cbf8fdcfdceab8a330bdc82e4260a55c125c37d Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sun, 22 Aug 2021 19:54:51 +0200 Subject: Covert language-web to TypeScript --- language-web/src/main/js/App.tsx | 92 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 language-web/src/main/js/App.tsx (limited to 'language-web/src/main/js/App.tsx') diff --git a/language-web/src/main/js/App.tsx b/language-web/src/main/js/App.tsx new file mode 100644 index 00000000..5bd46c09 --- /dev/null +++ b/language-web/src/main/js/App.tsx @@ -0,0 +1,92 @@ +import React from 'react'; +import AppBar from '@material-ui/core/AppBar'; +import Box from '@material-ui/core/Box'; +import Button from '@material-ui/core/Button'; +import IconButton from '@material-ui/core/IconButton'; +import Toolbar from '@material-ui/core/Toolbar'; +import Typography from '@material-ui/core/Typography'; +import MenuIcon from '@material-ui/icons/Menu'; +import PlayArrowIcon from '@material-ui/icons/PlayArrow'; + +import { makeStyles } from './makeStyles'; +import Editor from './editor/Editor'; +import EditorButtons from './editor/EditorButtons'; + +const useStyles = makeStyles()(theme => ({ + container: { + maxHeight: '100vh', + }, + menuButton: { + marginRight: theme.spacing(2), + }, + title: { + flexGrow: 1, + }, + editorBox: { + overflow: 'auto', + }, +})); + +export default () => { + const { classes, cx } = useStyles(); + + return ( + + + + + + + + GraphSolver + + + + + + + + + + + + + + + + ); +}; -- cgit v1.2.3-70-g09d2