import React, { useState } from "react" import { Dialog, DialogActions, Button, DialogTitle, DialogContent, makeStyles, Box, Paper } from "@material-ui/core" import { AddToQueue as AddWorkspaceIcon } from "@material-ui/icons" import { EmptyState, Page, SplitButton } from "../components" const WorkspacesPage: React.FC = () => { const styles = useStyles() const createWorkspace = () => { alert("create") } const button = { children: "New Workspace", onClick: createWorkspace, } return (
color="primary" onClick={createWorkspace} options={[ { label: "New workspace", value: "custom", }, { label: "New workspace from template", value: "template", }, ]} startIcon={} textTransform="none" />
) } const useStyles = makeStyles((theme) => ({ header: { display: "flex", flexDirection: "row-reverse", justifyContent: "space-between", margin: "1em auto", maxWidth: "1380px", padding: theme.spacing(2, 6.25, 0), width: "100%", }, })) export default WorkspacesPage