react-currency-formatter

react currency formatter Component

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
react-currency-formatter
47231.1.06 years ago7 years agoMinified + gzip package size for react-currency-formatter in KB

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.