diff --git a/lib/QRCode.js b/lib/QRCode.js index 7471f47..006f219 100644 --- a/lib/QRCode.js +++ b/lib/QRCode.js @@ -55,6 +55,7 @@ var QRCode = createReactClass({ fgColor: PropTypes.string, onLoad: PropTypes.func, onLoadEnd: PropTypes.func, + style: PropTypes.object, }, getDefaultProps: function() { @@ -65,6 +66,7 @@ var QRCode = createReactClass({ size: 128, onLoad: () => {}, onLoadEnd: () => {}, + style: {} } }, @@ -92,7 +94,7 @@ var QRCode = createReactClass({ var size = this.props.size; var value = this.utf16to8(this.props.value); return ( - +