react-native-keyboard icon indicating copy to clipboard operation
react-native-keyboard copied to clipboard

Cannot read property 'oneOf' of undefined

Open sandrina-p opened this issue 6 years ago • 0 comments

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

sandrina-p avatar Mar 18 '18 15:03 sandrina-p