Render QR code with SVG, not canvas

This commit is contained in:
Evan Hahn 2022-01-14 10:45:05 -06:00 committed by GitHub
parent 7486312e4e
commit eba8d8d4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 24 additions and 50 deletions

View file

@ -10,8 +10,7 @@ const story = storiesOf('Components/QrCode', module);
story.add('Default', () => (
<QrCode
aria-label="Scan this little code!"
alt="Scan this little code!"
data="sgnl://linkdevice?uuid=gCkj0T2xiSUaPRhMYiF24w&pub_key=7RshtQrb3UTMowITe79uW9dgw_CLTGWenj0OT80i0HpH"
size={256}
/>
));