Skip to content

Commit

Permalink
- Upgrade version for #473
Browse files Browse the repository at this point in the history
- Fix example
  • Loading branch information
s-yadav committed Jun 7, 2021
1 parent a20d18e commit 1d3daf4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions example/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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)}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 1d3daf4

Please sign in to comment.