signal-desktop/ts/components/QrCode.stories.tsx
2022-01-05 09:59:59 -08:00

17 lines
461 B
TypeScript

// 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}
/>
));