title: Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object
body: <p>I wanna to implement react-background-slider and doens't work i dont know why :(</p>
  <p>ERROR:</p>
  <pre><code>react-jsx-dev-runtime.development.js:87 Warning: React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
  </code></pre>
  <p>MY CODE:</p>
  <pre><code>import BackgroundSlider from &quot;react-background-slider&quot;;
  
  import slider1 from &quot;../../../assets/background-page1.jpg&quot;;
  import slider2 from &quot;../../../assets/background-page2.jpg&quot;;
  import slider4 from &quot;../../../assets/background-page3.jpg&quot;;
  
  const Slider = () =&gt; {
    return (
      &lt;div&gt;
        &lt;BackgroundSlider
          images={[slider1, slider2, slider4]}
          duration={10}
          transition={2}
        /&gt;
      &lt;/div&gt;
    );
  };
  </code></pre>