react-number-format-fa
TypeScript icon, indicating that this package has built-in type declarations

4.6.3 • Public • Published

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

Package Sidebar

Install

npm i react-number-format-fa

Weekly Downloads

6

Version

4.6.3

License

MIT

Unpacked Size

253 kB

Total Files

25

Last publish

Collaborators

  • mehrabsha