react-native-picker / picker

Picker is a cross-platform UI component for selecting an item from a list of options.
MIT License
1.49k stars 280 forks source link

react 16.x 使用该组件无效果 #305

Open Liyi-up opened 3 years ago

Liyi-up commented 3 years ago

{ "name": "my-demo", "version": "0.0.1", "private": true, "scripts": { "android": "react-native run-android", "ios": "react-native run-ios", "start": "react-native start", "test": "jest", "lint": "eslint ." }, "dependencies": { "@ant-design/react-native": "^4.2.0", "@react-native-community/cameraroll": "^4.0.4", "@react-native-community/masked-view": "^0.1.11", "@react-native-community/segmented-control": "^2.2.2", "@react-native-community/slider": "^3.0.3", "@react-native-community/viewpager": "^5.0.11", "@react-native-picker/picker": "^1.16.5", "@react-navigation/bottom-tabs": "^5.11.11", "@react-navigation/native": "^5.9.4", "@react-navigation/stack": "^5.14.5", "babel-plugin-module-resolver": "^4.1.0", "eslint-plugin-react-hooks": "^4.2.0", "native-echarts": "^0.5.0", "react": "16.13.1", "react-native": "0.63.4", "react-native-gesture-handler": "^1.10.3", "react-native-linear-gradient": "^2.5.6", "react-native-pager-view": "5.0.12", "react-native-progress": "^5.0.0", "react-native-safe-area-context": "^3.2.0", "react-native-screens": "^3.4.0", "react-native-svg": "^12.1.1", "react-native-tab-view": "^3.1.1", "react-native-table-component": "^1.2.1", "react-native-toast-hybrid": "^2.4.1", "react-native-vector-icons": "^8.1.0", "react-native-webview": "^11.6.5", "react-redux": "^7.2.4", "redux": "^4.1.0", "redux-thunk": "^2.3.0", "remove": "^0.1.5" }, "devDependencies": { "@babel/core": "^7.14.8", "@babel/runtime": "^7.14.8", "@react-native-community/eslint-config": "^3.0.0", "babel-jest": "^27.0.6", "babel-plugin-import": "^1.13.3", "babel-plugin-module-resolver": "^4.1.0", "eslint": "^7.31.0", "jest": "^27.0.6", "metro-react-native-babel-preset": "^0.66.2", "react-test-renderer": "17.0.1" }, "jest": { "preset": "react-native" } }

Naturalclar commented 3 years ago

@Liyi-up What is the issue?