From 1d3daf46a81e882988337d6498013d5580f71c9a Mon Sep 17 00:00:00 2001 From: Sudhanshu Date: Mon, 7 Jun 2021 20:11:55 +0530 Subject: [PATCH] - Upgrade version for #473 - Fix example --- example/src/index.js | 1 + package.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/example/src/index.js b/example/src/index.js index 8e3d159a..a65b070c 100644 --- a/example/src/index.js +++ b/example/src/index.js @@ -44,6 +44,7 @@ class App extends React.Component { thousandSeparator={this.state.thousandSeparator} decimalSeparator="," value={this.state.test} + isNumericString prefix="$" onValueChange={(values) => this.setState({ test: values.value })} onChange={(e) => console.log(e.target.value)} diff --git a/package.json b/package.json index 712736d8..4656018c 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "react-number-format", "description": "React component to format number in an input or as a text.", - "version": "4.6.0", + "version": "4.6.1", "main": "dist/react-number-format.cjs.js", "module": "dist/react-number-format.es.js", "author": "Sudhanshu Yadav",