diff --git a/lib/QRCode.js b/lib/QRCode.js index 7471f47..c0855dc 100644 --- a/lib/QRCode.js +++ b/lib/QRCode.js @@ -104,7 +104,7 @@ var QRCode = createReactClass({ render={renderCanvas} onLoad={this.props.onLoad} onLoadEnd={this.props.onLoadEnd} - style={{height: size, width: size}} + style={{height: size, width: size, backgroundColor: 'transparent'}} /> ); diff --git a/package.json b/package.json index c051fa9..8c56593 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-native-qrcode", - "version": "0.2.7", + "version": "0.2.8", "description": "react-native qrocode generator", "main": "index.js", "repository": {