@paylike/react-country-select
v1.0.3
Published
A ReactJS module for https://github.com/paylike/countries/
Downloads
5
Keywords
Readme
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 ){},
*/
});