1<FormControl className={classes.formControl} error>
2 <InputLabel id="demo-simple-select-error-label">Name</InputLabel>
3 <Select
4 labelId="demo-simple-select-error-label"
5 id="demo-simple-select-error"
6 value={age}
7 onChange={handleChange}
8 >
9 <MenuItem value={10}>Ten</MenuItem>
10 <MenuItem value={20}>Twenty</MenuItem>
11 <MenuItem value={30}>Thirty</MenuItem>
12 </Select>
13 <FormHelperText>Error</FormHelperText>
14</FormControl>