Want to render Link in material ui Drawer? Use inline style textDecoration: ‘none’ for the link. gets rendered as a standard tag, which is why we can apply textDecoration rule there.
1 2 3 4 5 6 7 8 9 | <Drawer width={200} open={this.state.drawerOpen} docked={false} onRequestChange={this.toggleDrawer}> <Link to="/businesspartners" style={{ textDecoration: 'none' }}> <MenuItem onTouchTap={this.toggleDrawer.bind(this, false)} rightIcon={<CommunicationBusiness />} > Business Partners </MenuItem> </Link> </Drawer> |
If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.