JSPM

react-currency-formatter

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

react currency formatter Component

Package Exports

  • react-currency-formatter

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-currency-formatter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

💵 react currency formatter

npm npm David Travis license

💻 DEMO!

Usage

Simple

import Currency from 'react-currency-formatter';

<Currency
  quantity={45685}
  currency="EUR"
/>

Complex

import Currency from 'react-currency-formatter';

<Currency
  quantity={45685}          // Required
  currency="USD"            // Optional (USD by default)
  locale="en_EN"            // Optional
  pattern="##,### !"        // Optional
  decimal=","               // Optional
  group="."                 // Optional
/>

Support

Please open an issue for support.

Contributing

Please contribute using Github Flow. Create a branch, add commits, and open a pull request.