Open arunshan opened 8 years ago
I think it doesn't work if Carousel component is embedded inside View, I also use react native 0.26.1 and it worked if Carousel is the root component and didn't work when it was inside View. I think it has to work even if its inside View and is a bug.
import Carousel from 'react-native-carousel';
It works for me. I had to restart server after npm install.
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined.
Get the above error when I import this module using
require
Even
import Carousel from 'react-native-carousel'
does not work.