Fix white background issue

This commit is contained in:
Roman Volosovskyi 2019-03-29 07:35:38 +02:00
parent 25ff1d1c7f
commit 58af1c00a7
No known key found for this signature in database
GPG Key ID: 0238A4B5ECEE70DE
2 changed files with 2 additions and 2 deletions

View File

@ -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'}}
/>
</View>
);

View File

@ -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": {