Options menu

Here's the component that displays the autocomplete options when the user starts typing or clicks on the down arrow:

const Menu = props => (  <Paper    square    className={props.selectProps.classes.paper}    {...props.innerProps}  >    {props.children}  </Paper>);

The Menu component renders a Material-UI Paper component so that the element surrounding the options is themed accordingly.

Get React Material-UI Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.