2022-01-05 11:59:59 -06:00
|
|
|
// Copyright 2022 Signal Messenger, LLC
|
|
|
|
// SPDX-License-Identifier: AGPL-3.0-only
|
|
|
|
|
|
|
|
import React from 'react';
|
2023-10-11 12:06:43 -07:00
|
|
|
import type { Meta } from '@storybook/react';
|
|
|
|
import type { PropsType } from './QrCode';
|
2022-01-05 11:59:59 -06:00
|
|
|
import { QrCode } from './QrCode';
|
|
|
|
|
2022-06-06 20:48:02 -04:00
|
|
|
export default {
|
|
|
|
title: 'Components/QrCode',
|
2023-10-11 12:06:43 -07:00
|
|
|
} satisfies Meta<PropsType>;
|
2022-01-05 11:59:59 -06:00
|
|
|
|
2022-11-17 16:45:19 -08:00
|
|
|
export function Default(): JSX.Element {
|
|
|
|
return (
|
|
|
|
<QrCode
|
|
|
|
alt="Scan this little code!"
|
|
|
|
data="sgnl://linkdevice?uuid=gCkj0T2xiSUaPRhMYiF24w&pub_key=7RshtQrb3UTMowITe79uW9dgw_CLTGWenj0OT80i0HpH"
|
|
|
|
/>
|
|
|
|
);
|
|
|
|
}
|