Exploring Alternative Emulators for React Native Development
January 20, 2024
1 min
React Native Countries v1.0.2 will provide you directly native countries list. The names of the countries come with their flags.
npm install --save react-native-country-picker-modal
import * as React from 'react'; import { View, StyleSheet } from 'react-native'; import Constants from 'expo-constants'; import CountryPicker from 'react-native-country-picker-modal'; export default class App extends React.Component { render() { return ( <View style={styles.container}> <CountryPicker withEmoji /> </View> ); } } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', alignItems: 'center', paddingTop: Constants.statusBarHeight, backgroundColor: '#ecf0f1', padding: 8, }, });
Quick Links
Legal Stuff