title: Mixed up default and named imports
body: <p>I am trying to use the Camera with React Native but it seems that my imports are messed up and I can't figure out why.
  Based on similar posts it seems that the export from the Camera is not properly done but I don't want to modify the react-native-camera source code.</p>
  
  <p>I tried to import both </p>
  
  <pre><code>import Camera from 'react-native-camera';
  
  </code></pre>
  
  <p>and</p>
  
  <pre><code>import {Camera} from 'react-native-camera';
  
  </code></pre>
  
  <p>but I get the same error:</p>
  
  <p><strong>Invariant Violation: Invariant Violation: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.</strong></p>
  
  <p>Any idea how to fix that? 
  I would still like to use react-native-camera library and not edit it.</p>
  
  <p>Thank you for any piece of advice!</p>