Hi, i have a prolbem with your component, when i use it :
Warning: React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: object.
Are you importing { Carousel } from "react-responsive-carousel" ?
Yeah and i try it with minimal option like this for example :
import { Carousel } from 'react-responsive-carousel'
render () {
return (
<Carousel>
<div>hello</div>
<div>wolrd</div>
</Carousel>
)
but not working ^^ the error :
edit: Problem solved, i try with img balise and it working ! Just last time i did not import the right way with the { }
Good to know. Can I close this issue then?
You can use showThumbs=false if you don't want use images.
Yeah close :) is good thanks :p
Cheers
Most helpful comment
Are you importing
{ Carousel } from "react-responsive-carousel"?