title: React big calendar has no default export
body: <p>I wanted to use react-big-calendar, I installed the package with npm (version 0.28.0), but I was able to use the component because there is apparently no default export. The exact error is</p>
  <blockquote>
  <p>Attempted import error: 'react-big-calendar' does not contain a
  default export (imported as 'BigCalendar').</p>
  </blockquote>
  <p>If I should not use default export, I did not find anywhere what I should import instead.
  I used <a href="https://jquense.github.io/react-big-calendar/examples/index.html" rel="nofollow noreferrer">this tutorial</a> in order to make it work. I searched on the internet for similar issue, but I did not find anything that provide a solution.
  My code so far is very minimalist, since I was not able to start anything</p>
  <pre><code>import BigCalendar from 'react-big-calendar'
  import moment from 'moment'
  
  const MyComponent = props =&gt; {
    const localizer = BigCalendar.momentLocalizer(moment)
    return(
      &lt;div&gt;
        &lt;BigCalendar localizer={localizer}/&gt;
      &lt;div&gt;
    )
  }
  </code></pre>
  <p>Thank you in advance for any response.</p>