4.6.3 • Published 3 years ago

react-number-format-fa v4.6.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

react-number-format-fa

React component to format persian , arabic and english number in an input or as a text based on react-number-format

Features

  1. Prefix, suffix and thousand separator.
  2. Custom format pattern.
  3. Masking.
  4. Custom formatting handler.
  5. Format number in an input or format as a simple text.
  6. Support persian & arabic digits

Install

Through npm npm install react-number-format-fa --save

Usage

ES6

import NumberFormat from 'react-number-format-fa';

ES5

const NumberFormat = require('react-number-format-fa');

Typescript

import NumberFormat from 'react-number-format-fa';
//or
import { default as NumberFormat } from 'react-number-format-fa';

👉 Read More about react-number-format