react-number-format
Advanced tools
Comparing version 1.1.0 to 1.1.1
/*! | ||
* react-number-format - 1.1.0 | ||
* react-number-format - 1.1.1 | ||
* Author : Sudhanshu Yadav | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2016,2017 to Sudhanshu Yadav - ignitersworld.com , released under the MIT license. |
/*! | ||
* react-number-format - 1.1.0 | ||
* react-number-format - 1.1.1 | ||
* Author : Sudhanshu Yadav | ||
@@ -4,0 +4,0 @@ * Copyright (c) 2016,2017 to Sudhanshu Yadav - ignitersworld.com , released under the MIT license. |
{ | ||
"name": "react-number-format", | ||
"description": "React component to format number in an input or as a text.", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"main": "lib/number_format.js", | ||
@@ -6,0 +6,0 @@ "author": "Sudhanshu Yadav", |
@@ -25,3 +25,3 @@ # react-number-format | ||
| suffix | String (ex : /-) | none | Add a prefix after the number | | ||
| value | Number | null | Give initial value to number format | | ||
| value | Number | null | Value to number format | | ||
| displayType | String: text / input | input | If input it renders a input element where formatting happens as you input characters. If text it renders it as a normal text in a span formatting the given value | | ||
@@ -28,0 +28,0 @@ | format | String : Hash based ex (#### #### #### ####) <br/> Or Function| none | If format given as hash string allow number input inplace of hash. If format given as function, component calls the function with unformatted number and expects formatted number. |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
88131
18