Skip to content

paylike/react-country-select

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 ){},
	*/
});

About

A ReactJS module for paylike-countries

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published