Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Undefined is not an object (evaluating 'this.popup.alert) #25

Open
SirPhemmiey opened this issue Apr 6, 2018 · 1 comment
Open

Undefined is not an object (evaluating 'this.popup.alert) #25

SirPhemmiey opened this issue Apr 6, 2018 · 1 comment

Comments

@SirPhemmiey
Copy link

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?

@RomanovYurii
Copy link

RomanovYurii commented Oct 27, 2018

@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';

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants