diff --git a/src/components/EventEdit.tsx b/src/components/EventEdit.tsx index f9db436..cc33dbf 100644 --- a/src/components/EventEdit.tsx +++ b/src/components/EventEdit.tsx @@ -1,14 +1,20 @@ import * as React from 'react'; -import RaisedButton from 'material-ui/RaisedButton'; -import Toggle from 'material-ui/Toggle'; -import TextField from 'material-ui/TextField'; -import SelectField from 'material-ui/SelectField'; -import MenuItem from 'material-ui/MenuItem'; -import { red500, fullWhite } from 'material-ui/styles/colors'; -import IconDelete from 'material-ui/svg-icons/action/delete'; -import IconCancel from 'material-ui/svg-icons/content/clear'; -import IconSave from 'material-ui/svg-icons/content/save'; +import FormGroup from '@material-ui/core/FormGroup'; +import FormControlLabel from '@material-ui/core/FormControlLabel'; +import Switch from '@material-ui/core/Switch'; + +import Button from '@material-ui/core/Button'; +import TextField from '@material-ui/core/TextField'; +import Select from '@material-ui/core/Select'; +import MenuItem from '@material-ui/core/MenuItem'; +import FormControl from '@material-ui/core/FormControl'; +import InputLabel from '@material-ui/core/InputLabel'; +import * as colors from '@material-ui/core/colors'; + +import IconDelete from '@material-ui/icons/Delete'; +import IconCancel from '@material-ui/icons/Clear'; +import IconSave from '@material-ui/icons/Save'; import DateTimePicker from '../widgets/DateTimePicker'; @@ -197,6 +203,7 @@ class EventEdit extends React.PureComponent { fullWidth: { width: '100%', boxSizing: 'border-box' as any, + marginTop: 16, }, submit: { marginTop: 40, @@ -225,30 +232,40 @@ class EventEdit extends React.PureComponent {