react-native-dropdown
react-native-dropdown copied to clipboard
I can‘t use it
Super expression must either be null or a function, not undefined
i have same issue
Anyone ever solve this?
i got the same issue
Same problem.
same here
same here. i using react hooks
Yeah still a problem
The version published to npm is wrong. You can copy whole code and fix.
React should import from react. The following code just import from react-native by mistake.
// wrong code
const React = require('react-native');
const Option = require('./option');
const {
Dimensions,
StyleSheet,
Component,
TouchableWithoutFeedback,
View
} = React;
same issue. Any one solved this ?