React-native-swiper: Element type is invalid on RN 0.46

Created on 13 Sep 2017  路  3Comments  路  Source: leecade/react-native-swiper

Which OS ?

iOS

Version

Which versions are you using:

  • react-native-swiper v1.5.12
  • react-native v0.46

Expected behaviour

Should work

Actual behaviour

It is throwing the error:
Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined

All 3 comments

Anybody did manage to make it work on RN 0.46?

Had to change the import to
import * as Swiper from 'react-native-swiper';
in my case, closing the issue.

Any solution for this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ruben-kasaz picture ruben-kasaz  路  3Comments

itinance picture itinance  路  3Comments

losikov picture losikov  路  3Comments

wrannaman picture wrannaman  路  3Comments

AndriiBoiko picture AndriiBoiko  路  3Comments