Created
November 14, 2019 14:01
-
-
Save JamesHusband/ed72953c46259f386ffc8f5a7704428e to your computer and use it in GitHub Desktop.
Help
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import MatPaper from '@material-ui/core/Paper'; | |
import { withCmsClasses } from '../MaterialClasses'; | |
import { Grid } from '@material-ui/core'; | |
import InputLabel from '@material-ui/core/InputLabel'; | |
import MenuItem from '@material-ui/core/MenuItem'; | |
import { makeStyles } from '@material-ui/core/styles'; | |
import FormHelperText from '@material-ui/core/FormHelperText'; | |
import FormControl from '@material-ui/core/FormControl'; | |
import Select from '@material-ui/core/Select'; | |
import { connect } from 'react-redux'; | |
class FormFilter extends Component { | |
state = {}; | |
render() { | |
const { classes } = this.props; | |
return ( | |
<div> | |
<FormControl className={classes.formControl}> | |
<InputLabel id="demo-simple-select-label">Age</InputLabel> | |
<Select | |
className={classes.MuiSelect} | |
id="demo-simple-select" | |
value="20" | |
> | |
<MenuItem value="10">Ten</MenuItem> | |
<MenuItem value={20}>Tddwenty</MenuItem> | |
<MenuItem value={30}>Thirty</MenuItem> | |
</Select> | |
</FormControl> | |
</div> | |
); | |
} | |
} | |
export default connect(({ app: { root } }) => { | |
return { container: root }; | |
})(withCmsClasses(FormFilter)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment