Closed aaronminkov closed 5 years ago
After properly importing the react-native-textinput-effects module and including in my code, I run into the error:
TypeError: undefined is not an object (evaluating 'Component.propTypes')
Code: `import React, {Component} from 'react''; import { View } from 'react-native'; import { Sae } from 'react-native-textinput-effects';
export default class App extends React.Component { render() { return (
) }
}`
What could be causing this issue?
Did you solve the issue?
Getting this issue as well
Try doing an npm install prop-types and it seems to be working now. Also make sure all required props are passed in
After properly importing the react-native-textinput-effects module and including in my code, I run into the error:
TypeError: undefined is not an object (evaluating 'Component.propTypes')
Code: `import React, {Component} from 'react''; import { View } from 'react-native'; import { Sae } from 'react-native-textinput-effects';
export default class App extends React.Component { render() { return (
}`
What could be causing this issue?