title: 'withRouter' is not exported from 'react-router-dom'
body: <pre><code>Failed to compile. Attempted import error: 'withRouter' is not exported from 'react-router-dom'.
  </code></pre>
  <p>My code like, also I have installed <code>react-router-dom</code> an react-route and I have respin the app 10 time now</p>
  <pre><code>import React from 'react';
  import {withRouter} from 'react-router-dom';
  
  import './menu-item.scss';
  
  const MenuItem = ({ title, imageUrl, size, history }) =&gt; (
    &lt;div className={`${size} menu-item`}&gt;
      &lt;div
        className='background-image'
        style={{
          backgroundImage: `url(${imageUrl})`,
        }}
      /&gt;
      &lt;div className='content'&gt;
        &lt;h1 className='title'&gt;{title.toUpperCase()}&lt;/h1&gt;
        &lt;span className='subtitle'&gt;SHOP NOW&lt;/span&gt;
      &lt;/div&gt;
    &lt;/div&gt;
  );
  
  export default withRouter(MenuItem);
  </code></pre>