JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 200
  • Score
    100M100P100Q85479F
  • License MIT

Select currency from a dropdown with auto-fill.

Package Exports

  • react-select-currency

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-select-currency) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

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 (
            <div>
                <SelectCurrency value={'USD'} onCurrencySelected={onSelectedCurrency} />
            </div>
        )
    }

Try the Demo

Credits

This component makes use of the following components, with thanks and acknowledgement to the authors and contributors:

Author

Lawrence Siden
Ann Arbor, MI

License

MIT