react-native-phone-country-picker-input
Version:
A React Native component to input phone numbers with a country picker modal.
10 lines (9 loc) • 360 B
JavaScript
// Library exports
import { registerRootComponent } from 'expo';
import PhonePickerInput from './PhonePickerInput';
export { default } from './PhonePickerInput';
export * from './phonePickerUtils';
// Only register as root component if running in Expo environment
if (typeof __DEV__ !== 'undefined' && __DEV__) {
registerRootComponent(PhonePickerInput);
}