React country selector
A ReactJS module exporting a select of paylike supported countries
Usage
"dependencies": {
"@paylike/react-country-select": "*",
}
var ReactDOM = require('react-dom');
var CountrySelect = require('react-country-select');
ReactDOM.render(CountrySelect, {
/*
value,
required,
initial, // set a text to display in an initial option
className,
exclude, // Array of country codes to exclude
filter, // function to filter countries (( { code, currency, name } ) => Boolean)
onChange: function( country ){},
*/
});