diff --git a/lib/Canvas.js b/lib/Canvas.js index d38c205..612476a 100644 --- a/lib/Canvas.js +++ b/lib/Canvas.js @@ -26,7 +26,7 @@ var Canvas = createReactClass({ automaticallyAdjustContentInsets={false} scalesPageToFit={Platform.OS === 'android'} contentInset={{top: 0, right: 0, bottom: 0, left: 0}} - source={{html: ""}} + source={{html: ""}} opaque={false} underlayColor={'transparent'} style={this.props.style} diff --git a/lib/QRCode.js b/lib/QRCode.js index cbde837..62051ea 100644 --- a/lib/QRCode.js +++ b/lib/QRCode.js @@ -98,7 +98,7 @@ var QRCode = createReactClass({ cells: qr(value).modules, }} render={renderCanvas} - style={{height: size, width: size}} + style={{height: size + 30, width: size + 30}} /> );