Skip to content

NordcomInc/react-tender

Repository files navigation

react-tender

License npm Contributors Codacy Badge TODO Badge FIXME Badge

React currency component. Built for Sweet Side of Sweden with ❤️.

Why use react-tender?

  • Stupidly simple (Pretty much just toLocaleString).
  • Written in TypeScript (that's right, fight me).
  • Actively maintained.
  • Open Source with an actually free license (MIT).
  • 0/ZERO/NADA/NOLL dependencies.

Getting started

It's as simple as 1-2-3!

1. Install

npm i react-tender

2. Import

import { Currency } from 'react-tender';

3. Use

<Currency
    value={9.99} // Required
    currency="USD" // Optional, (defaults to USD)
    locale="en-US" // Optional, (defaults to en-US)
/>

About

Easy, simple and straight-forward react currency component built using web tech.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published