https://github.com/lsiden/react-select-currency
Select a currency from a drop-down list of countries with auto-fill.
https://github.com/lsiden/react-select-currency
Last synced: 7 months ago
JSON representation
Select a currency from a drop-down list of countries with auto-fill.
- Host: GitHub
- URL: https://github.com/lsiden/react-select-currency
- Owner: lsiden
- License: mit
- Created: 2017-10-08T21:15:31.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T04:26:06.000Z (about 8 years ago)
- Last Synced: 2025-03-24T06:12:22.383Z (7 months ago)
- Language: JavaScript
- Size: 7.46 MB
- Stars: 5
- Watchers: 0
- Forks: 13
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# react-select-currency
Select a currency from a drop-down list of countries with auto-fill.
# Installation
On command line:
(npm | yarn) react-select-currency
# Usage
import React from 'react';
import SelectCurrency from '../src'
const onSelectedCurrency = currencyAbbrev => {
debug(`Selected ${currencyAbbrev}`)
}
function Demo() {
return (
)
}
Try the [Demo](https://lsiden.github.io/react-select-currency/)
# Credits
This component makes use of the following components, with thanks and acknowledgement to the authors and contributors:
* [country-code](https://github.com/ckaatz-nokia/cc)
* [flag-icon-css](https://github.com/lipis/flag-icon-css)
* [locale-currency](https://github.com/tadeegan/locale-currency)
# Author
Lawrence Siden
Ann Arbor, MI
# License
[MIT](https://opensource.org/licenses/MIT)