// Copyright (C) The Arvados Authors. All rights reserved. // // SPDX-License-Identifier: AGPL-3.0 import * as React from 'react'; import TextField from '@material-ui/core/TextField'; import Dialog from '@material-ui/core/Dialog'; import DialogActions from '@material-ui/core/DialogActions'; import DialogContent from '@material-ui/core/DialogContent'; import DialogTitle from '@material-ui/core/DialogTitle'; import { Button, StyleRulesCallback, WithStyles, withStyles } from '@material-ui/core'; interface ProjectCreateProps { open: boolean; handleClose: () => void; } const DialogProjectCreate: React.SFC> = ({ classes, open, handleClose }) => { return (
Create a project
); }; type CssRules = "button" | "lastButton" | "dialogContent" | "textField" | "dialog"; const styles: StyleRulesCallback = theme => ({ button: { marginLeft: theme.spacing.unit }, lastButton: { marginLeft: theme.spacing.unit, marginRight: "20px", }, dialogContent: { marginTop: "20px", }, textField: { marginBottom: "32px", }, dialog: { minWidth: "550px", minHeight: "320px" } }); export default withStyles(styles)(DialogProjectCreate);