<MenuItem component={Link} // the 'to' prop (and any other props not recognized by MenuItem itself) // will be passed down to the Link component to="/profile" > Profile </MenuItem>
<MenuItem component={Link} // the 'to' prop (and any other props not recognized by MenuItem itself) // will be passed down to the Link component to="/profile" > Profile </MenuItem>