diff --git a/lib/QRCode.js b/lib/QRCode.js index 8b2a7ee..c5224d7 100644 --- a/lib/QRCode.js +++ b/lib/QRCode.js @@ -46,6 +46,7 @@ var QRCode = React.createClass({ value: 'https://github.com/cssivision', fgColor: 'white', bgColor: 'black', + size: 128, } }, @@ -62,7 +63,7 @@ var QRCode = React.createClass({ cells: qr(this.props.value).modules, }} render={renderCanvas} - style={{height: size + 2, width: size + 2}} + style={{height: size, width: size}} /> );