formatted-amount

1.0.11 • Public • Published

formatted-amount

npm version Build Status codecov Code Climate Dependency Status

Installation

npm i formatted-amount --save

Usage

One installed, just require and use the component:

import React from `react`;
import FormattedAmount from 'formatted-amount';
 
React.render(<FormattedAmount amount={1337} currency={''} />, document.querySelector('#main'));

Build

npm run build

Tests

npm test

Examples

Examples are available here : https://jtassin.github.io/formatted-amount/

Contributors

Julien TASSIN
Julien TASSIN

License

MIT, see LICENSE for details.

Package Sidebar

Install

npm i formatted-amount

Weekly Downloads

1

Version

1.0.11

License

MIT

Last publish

Collaborators

  • jtassin