Added width option
This commit is contained in:
parent
510cff943b
commit
4119ee870e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ export default (props: Props) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<section>
|
<section>
|
||||||
<img src={qrcode()} alt="QR Code" style={`width: ${props.width || 'auto' }rem`}/>
|
<img src={qrcode()} alt="QR Code" style={`width: ${props.width || 'auto'}rem`} />
|
||||||
</section>
|
</section>
|
||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue