npm.io
1.1.1 • Published 3 years ago

react-tender

Licence
MIT
Version
1.1.1
Deps
0
Size
10 kB
Vulns
0
Weekly
0
Stars
6

react-tender

License npm Contributors

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)
/>