Skip to content

Country List provides a screen allowing a user to select a country from a list. It display a flag and calling code next to each country name.

License

Notifications You must be signed in to change notification settings

subinspathilettu/react-native-country-list

Repository files navigation

react-native-country-list

demo

Installation

$ yarn add react-native-country-list

Basic Usage

import { CountrySelection } from 'react-native-country-list';

render(){
    const { selected } = this.state;
    return (
      <View style={styles.container}>
        <CountrySelection action={(item) => this.onCountrySelection(item)} selected={selected}/>
      </View>
    );
  }

Licence

MIT

About

Country List provides a screen allowing a user to select a country from a list. It display a flag and calling code next to each country name.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published