react-native-popup
react-native-popup copied to clipboard
Undefined is not an object (evaluating 'this.popup.alert)
Hey guys, After fixing the React.PropTypes issue and confirming the import of the module in my project, i stumbled on this problem. Any way forward please?
@SirPhemmiey inside the index.js of this lib change the import statements.
Instead of
import {Component, PropTypes} from 'react'
use
import {Component} from 'react'; import PropTypes from 'prop-types';