n4kz / react-native-material-dropdown

Material dropdown with consistent behaviour on iOS and Android
Other
732 stars 597 forks source link

TypeError: Cannot read property 'Dropdown' of undefined #281

Closed MyAndroidNetZWJ closed 2 months ago

MyAndroidNetZWJ commented 2 months ago

When I'm done with the download command npm install --save react-native-material-dropdown, Compile the code based on the demo instance. After the code is run, an error is reported when you click the code. TypeError: Cannot read property'Dropdown' of undefined

How can I solve this problem? Has anyone come across this?