@paylike/react-currency-select

1.2.0 • Public • Published

Paylike currency select

A ReactJS module exporting a select of paylike supported currencies

Usage

Requires ReactJS ^v0.14.2

Pin the dependency to the current version branch to ensure future installs of your application will work. Like so:

"dependencies": {
	"@paylike/react-currency-select": "^1.0.1"
}
var ReactDOM = require('react-dom');
var CurrencySelect = require('@paylike/react-currency-select');

ReactDOM.render(CurrencySelect, {
/*
	value,
	required,
	initial,		// set a text to display in an initial option
	className,
	funding,		// show only funding currencies
	deprecated,		// include deprecated currencies
	exclude, // Array of currency codes to exclude
	filter, // function to filter currencies (( { code, currency, numeric, exponent } ) => Boolean)

	onChange: function( currency ){},
*/
});

Readme

Keywords

none

Package Sidebar

Install

npm i @paylike/react-currency-select

Weekly Downloads

6

Version

1.2.0

License

MIT

Unpacked Size

2.21 kB

Total Files

3

Last publish

Collaborators

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