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

Cannot read property 'oneOfType' #22

Open
emmaB93 opened this issue Feb 6, 2018 · 1 comment
Open

Cannot read property 'oneOfType' #22

emmaB93 opened this issue Feb 6, 2018 · 1 comment

Comments

@emmaB93
Copy link

emmaB93 commented Feb 6, 2018

Hi, I'm getting the following error with "react-native": "0.52.2" & "react": "16.2.0":

"Cannot read property 'oneOfType' of undefined (SectionHeader.js:32:8)

@finnif
Copy link

finnif commented Mar 14, 2018

Maybe you can try use

import React, {
  Component,
  // PropTypes
} from 'react';
import PropTypes from 'prop-types';

replace

import React, {
  Component,
  PropTypes
} from 'react';

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