title: react native how to import from third library by using "import"?
body: <p>I am trying to use SliderButton, I recently installed slider-button in my terminal,</p>
  
  <pre><code>npm install --save react-native-slider-button
  </code></pre>
  
  <p>and tried to import it, but somehow it did not work.</p>
  
  <p>on website, I am supposed to write </p>
  
  <pre><code>var SliderButton = require("react-native-slider-button");
  </code></pre>
  
  <p>but my react-native is latest ver so i am guessing that I probably should not use require, how do I write code with using "import"?</p>