-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove Picker deprecation warning (#2709)
Use @react-native-community/picker
- Loading branch information
1 parent
6b91720
commit 73fcef6
Showing
4 changed files
with
22 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
diff --git a/node_modules/react-native/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js b/node_modules/react-native/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js | ||
index a4e0cc0..4f4c9ea 100644 | ||
--- a/node_modules/react-native/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js | ||
+++ b/node_modules/react-native/ReactAndroid/src/androidTest/js/PickerAndroidTestModule.js | ||
@@ -10,7 +10,8 @@ | ||
'use strict'; | ||
|
||
const React = require('react'); | ||
-const {NativeModules, Picker, View} = require('react-native'); | ||
+const {NativeModules, View} = require('react-native'); | ||
+const {Picker} = require('@react-native-community/picker'); | ||
const BatchedBridge = require('react-native/Libraries/BatchedBridge/BatchedBridge'); | ||
|
||
const {Recording: RecordingModule} = NativeModules; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters