Switch to qrcode-generator library

This commit is contained in:
Evan Hahn 2022-01-05 11:59:59 -06:00 committed by GitHub
parent 17bee00821
commit c8d32f0327
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
14 changed files with 155 additions and 696 deletions

View file

@ -0,0 +1,17 @@
// Copyright 2022 Signal Messenger, LLC
// SPDX-License-Identifier: AGPL-3.0-only
import React from 'react';
import { storiesOf } from '@storybook/react';
import { QrCode } from './QrCode';
const story = storiesOf('Components/QrCode', module);
story.add('Default', () => (
<QrCode
aria-label="Scan this little code!"
data="sgnl://linkdevice?uuid=gCkj0T2xiSUaPRhMYiF24w&pub_key=7RshtQrb3UTMowITe79uW9dgw_CLTGWenj0OT80i0HpH"
size={256}
/>
));