How to make a Material UI react Button act as a react-router-dom Link?
17:46 01 Aug 2018

How can I make a Material UI react Button component act as a Link component from react-router-dom without losing it's original style? Like changing the route on click.

import Button from '@material-ui/core/Button';


To something like this, but maintaining the original Button style:

import Button from '@material-ui/core/Button';
import { Link } from 'react-router-dom';


javascript reactjs react-router material-ui react-router-dom