react-number | React currency format
ReactNumberformatisainputformatterlibrarywithasohpisticatedandlightweightcaretengine.FeaturesPrefix,suffixandthousandseparator.Custompatternformatting.Masking.Customformattinghandler.Formatnumberinaninputorformatasasimpletext.FullycustomizableInstallUsingnpmnpminstallreact-number-formatUsingyarnyarnaddreact-number-formatES6NumericFormatimport{NumericFormat}fromreact-number-format;PatternFormatimport{PatternFormat}fromreact-number-format;Readthefulldocumentationherehttps://s-yadav.github.io/r...
React Number format is a input formatter library with a sohpisticated and light weight caret engine.
Features Prefix, suffix and thousand separator. Custom pattern formatting. Masking. Custom formatting handler. Format number in an input or format as a simple text. Fully customizable InstallUsing npm
npm install react-number-formatUsing yarn
yarn add react-number-format ES6Numeric Format
import { NumericFormat } from react-number-format;Pattern Format
import { PatternFormat } from react-number-format;Read the full documentation here
https://s-yadav.github.io/react-number-format/docs/intro[1]
Migrate from v4 to v5https://s-yadav.github.io/react-number-format/docs/migration[2]
v4 docv4 Docs[3]
Development Clone the repository or download the zip npm i -g yarn to download Yarn yarn to install dependencies yarn start to run example server (http://localhost:8084/[4]) yarn test to test changes yarn ...