@b.taranenko/react-native-country-list

A react native country selection list

Usage no npm install needed!

<script type="module">
  import bTaranenkoReactNativeCountryList from 'https://cdn.skypack.dev/@b.taranenko/react-native-country-list';
</script>

README

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