make lightning qr codes clickable
This commit is contained in:
parent
9a15c228dc
commit
38275b3097
|
@ -7,9 +7,9 @@ export default function LnQR ({ value, statusVariant, status }) {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<div>
|
<a className='d-block' href={qrValue}>
|
||||||
<QRCode className='h-auto mw-100' value={qrValue} renderAs='svg' size={300} />
|
<QRCode className='h-auto mw-100' value={qrValue} renderAs='svg' size={300} />
|
||||||
</div>
|
</a>
|
||||||
<div className='mt-3 w-100'>
|
<div className='mt-3 w-100'>
|
||||||
<CopyInput type='text' placeholder={value} readOnly />
|
<CopyInput type='text' placeholder={value} readOnly />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue