React JS material-ui

FormControl

1
2
3
import { Button, FormControl, InputLabel, makeStyles, MenuItem, Select, TextareaAutosize, TextField } from "@material-ui/core";

import makeStyles from '@material-ui/core/styles/makeStyles';
1
2
3
4
5
6
7
8
9
const useStyles = makeStyles({
textField: {
marginBottom: 20
},
formControl: {
margin: 1,
minWidth: 120,
}
});
1
2
const AddSchedule: React.FC<IProps> = ({ equipment, interval, schedule, setSchedule }) => {
const classes = useStyles();
1
<FormControl className={classes.formControl}>