JSPM

react-currency-formatter

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

react-currency-formatter React 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

Travis npm package Coveralls

Usage

Simple

import Currency from 'react-currency-formatter';

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

Complex

import Currency from 'react-currency-formatter';

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

TODO

  • create description
  • create documentation
  • create component playground (w/ Storybook)