diff --git a/lib/countryPicker.js b/lib/countryPicker.js index 1879ebee..eb4f25a7 100644 --- a/lib/countryPicker.js +++ b/lib/countryPicker.js @@ -1,6 +1,7 @@ import React, { Component } from 'react'; -import { Text, TouchableOpacity, View, Modal, Picker } from 'react-native'; +import { Text, TouchableOpacity, View, Modal } from 'react-native'; import PropTypes from 'prop-types'; +import { Picker } from '@react-native-picker/picker'; import Country from './country'; import styles from './styles'; diff --git a/package.json b/package.json index ab4450df..81db93ef 100644 --- a/package.json +++ b/package.json @@ -24,6 +24,7 @@ "android" ], "dependencies": { + "@react-native-picker/picker": "^1.9.3", "google-libphonenumber": "^3.2.2", "lodash": "^4.17.4", "prop-types": "^15.5.10"