Upgrade react and storybook
This commit is contained in:
parent
6476a4fe73
commit
42eb4013d0
244 changed files with 15341 additions and 10249 deletions
|
@ -2,15 +2,16 @@
|
|||
// 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);
|
||||
export default {
|
||||
title: 'Components/QrCode',
|
||||
};
|
||||
|
||||
story.add('Default', () => (
|
||||
export const Default = (): JSX.Element => (
|
||||
<QrCode
|
||||
alt="Scan this little code!"
|
||||
data="sgnl://linkdevice?uuid=gCkj0T2xiSUaPRhMYiF24w&pub_key=7RshtQrb3UTMowITe79uW9dgw_CLTGWenj0OT80i0HpH"
|
||||
/>
|
||||
));
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue