import React, { Fragment, PureComponent } from 'react'; import PropTypes from 'prop-types'; import { withStyles } from '@material-ui/core/styles'; import { Input, InputLabel, MenuItem, FormControl, ListItemText, Select, Checkbox, Chip, } from '@material-ui/core'; const styles = theme => ({ demo: { height: 'auto', }, divider: { margin: `${theme.spacing(3)}px 0`, }, field: { margin: `${theme.spacing(3)}px 0`, }, root: { display: 'flex', flexWrap: 'wrap', }, formControl: { margin: theme.spacing(1), minWidth: 120, maxWidth: 300, }, chips: { display: 'flex', flexWrap: 'wrap', }, chip: { margin: theme.spacing(0.25), }, }); const ITEM_HEIGHT = 48; const ITEM_PADDING_TOP = 8; const MenuProps = { PaperProps: { style: { maxHeight: (ITEM_HEIGHT * 4.5) + ITEM_PADDING_TOP, width: 250, }, }, }; const names = [ 'Oliver Hansen', 'Van Henry', 'April Tucker', 'Ralph Hubbard', 'Omar Alexander', 'Carlos Abbott', 'Miriam Wagner', 'Bradley Wilkerson', 'Virginia Andrews', 'Kelly Snyder', ]; class MultipleSelectbox extends PureComponent { state = { name: [], }; handleChange = event => { this.setState({ name: event.target.value }); }; render() { const { classes, theme } = this.props; return ( Name Tag Chip ); } } MultipleSelectbox.propTypes = { classes: PropTypes.object.isRequired, theme: PropTypes.object.isRequired, }; export default withStyles(styles, { withTheme: true })(MultipleSelectbox);