react-currency-input
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -68,3 +68,3 @@ 'use strict'; | ||
prepareProps: function prepareProps(props) { | ||
var customProps = JSON.parse(JSON.stringify(props)); //not as clean, but better support | ||
var customProps = _extends({}, props); // babeljs converts to Object.assign, then polyfills. | ||
delete customProps.onChange; | ||
@@ -71,0 +71,0 @@ delete customProps.value; |
{ | ||
"name": "react-currency-input", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "React component for inputing currency amounts", | ||
@@ -41,2 +41,3 @@ "main": "lib/index.js", | ||
"babel-preset-react": "^6.5.0", | ||
"babel-preset-stage-3": "6.22.0", | ||
"babel-register": "^6.9.0", | ||
@@ -43,0 +44,0 @@ "babelify": "^7.3.0", |
@@ -27,3 +27,3 @@ # react-currency-input | ||
this.setState({amount: newValue}); | ||
} | ||
}, | ||
render() { | ||
@@ -51,3 +51,3 @@ return ( | ||
console.log(this.refs.myinput.getMaskedValue()) | ||
} | ||
}, | ||
render() { | ||
@@ -54,0 +54,0 @@ return ( |
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
125657
16