title: Using React-file-viewer
body: <p>I'm trying to use React-file-viewer. Npm tutorial is here 
  But I have an error in the console : <strong>"you may need an appropriate loader to handle this file type"</strong>
  This is my code : </p>
  
  <pre><code>import FileViewer from 'react-file-viewer';
  import { CustomErrorComponent } from 'custom-error';
  const file = 'http://example.com/image.png'
  const type = 'png'
  
  
   onError = (e) =&gt; {
      logger.logError(e, 'error in file-viewer');
   }
  
   &lt;FileViewer
   fileType={type}
   filePath={file}
   errorComponent={CustomErrorComponent}
   onError={this.onError}/&gt;
  </code></pre>
  
  <p>I specify, i have babel-preset-es2015 and i use it</p>
  
  <p>How can I do ? 
  Thank you </p>