Skip to content

FLDWRK/react-money-component

 
 

Repository files navigation

react-money-component

Build Status Coverage Status

Money handling component for React.js

Installation:
npm install --save react-money-component

##### Usage:

import React from 'react';
import Money from 'react-money-component';

export default class MyProduct extends React.Component {
  render() {
    return (
      <Money cents={999} currency="GBP" />
    )
  }
}

The component returns a <span/> containing the formatted value of the currency.

About

Money handling component for React.js

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%