Skip to content

Cannot read property 'oneOf' of undefinedΒ #6

@sandrina-p

Description

@sandrina-p

Hey there πŸ‘‹

I've installed your package on my project that uses create-react-native-app and when I import the component it says

Cannot read property 'oneOf' of undefined

image

These are my project's dependencies:

{
  "dependencies": {
    "expo": "^24.0.2",
    "react": "16.0.0",
    "react-native": "0.51.0",
    "react-native-keyboard": "^2.0.0",
    "react-navigation": "^1.5.8",
    "react-redux": "^5.0.6",
    "redux": "^3.7.2",
    "redux-logger": "^3.0.6",
    "styled-components": "^2.4.0"
  },
  "devDependencies": {
    "babel-eslint": "^8.2.2",
    "babel-jest": "22.0.6",
    "babel-preset-react-native": "4.0.0",
    "eslint": "^4.19.0",
    "eslint-config-airbnb": "^16.1.0",
    "eslint-config-airbnb-flow": "^1.0.2",
    "eslint-plugin-flowtype": "^2.46.1",
    "eslint-plugin-import": "^2.9.0",
    "eslint-plugin-jsx-a11y": "^6.0.3",
    "eslint-plugin-react": "^7.7.0",
    "jest": "22.0.6",
    "react-test-renderer": "16.2.0"
  }
}

What am I missing? Thank you

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions