Nominally Patriotic Meathead

    react-money-component

    1.5.0 • Public • Published

    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.

    Install

    npm i react-money-component

    DownloadsWeekly Downloads

    5

    Version

    1.5.0

    License

    MIT

    Last publish

    Collaborators

    • musicglue-admin
    • dotbear
    • nikcorg