# react-select-country-list This package take [country-list](https://github.com/fannarsh/country-list) as reference, and make it more friendly to react-select Maps ISO 3166-1-alpha-2 codes to English country names and match react-select options props. Uses data from https://www.iso.org/iso-3166-country-codes.html ## Install ``` cli npm install react-select-country-list --save ``` or ``` cli yarn add react-select-country-list ``` ## Example ```js import React, { useState, useMemo } from 'react' import Select from 'react-select' import countryList from 'react-select-country-list' function CountrySelector() { const [value, setValue] = useState('') const options = useMemo(() => countryList().getData(), []) const changeHandler = value => { setValue(value) } return