import React from "react" import Box from "@material-ui/core/Box" import { makeStyles } from "@material-ui/core/styles" import Paper from "@material-ui/core/Paper" import AddWorkspaceIcon from "@material-ui/icons/AddToQueue" import { EmptyState, 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