@paylike/react-country-select

1.0.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @paylike/react-country-select

Weekly Downloads

2

Version

1.0.3

License

MIT

Unpacked Size

1.84 kB

Total Files

3

Last publish

Collaborators

  • misozask
  • paylike_tech
  • thomas-jensen
  • adomas.d