Unsupported OS Dialog
This commit is contained in:
parent
c6e184016b
commit
ac50af52d2
44 changed files with 776 additions and 224 deletions
|
@ -2,7 +2,6 @@
|
|||
// SPDX-License-Identifier: AGPL-3.0-only
|
||||
|
||||
import * as React from 'react';
|
||||
import { boolean } from '@storybook/addon-knobs';
|
||||
import { action } from '@storybook/addon-actions';
|
||||
|
||||
import { DialogRelink } from './DialogRelink';
|
||||
|
@ -16,7 +15,6 @@ const i18n = setupI18n('en', enMessages);
|
|||
const defaultProps = {
|
||||
containerWidthBreakpoint: WidthBreakpoint.Wide,
|
||||
i18n,
|
||||
isRegistrationDone: true,
|
||||
relinkDevice: action('relink-device'),
|
||||
};
|
||||
|
||||
|
@ -25,14 +23,12 @@ const permutations = [
|
|||
title: 'Unlinked (wide container)',
|
||||
props: {
|
||||
containerWidthBreakpoint: WidthBreakpoint.Wide,
|
||||
isRegistrationDone: false,
|
||||
},
|
||||
},
|
||||
{
|
||||
title: 'Unlinked (narrow container)',
|
||||
props: {
|
||||
containerWidthBreakpoint: WidthBreakpoint.Narrow,
|
||||
isRegistrationDone: false,
|
||||
},
|
||||
},
|
||||
];
|
||||
|
@ -41,14 +37,6 @@ export default {
|
|||
title: 'Components/DialogRelink',
|
||||
};
|
||||
|
||||
export function KnobsPlayground(): JSX.Element {
|
||||
const isRegistrationDone = boolean('isRegistrationDone', false);
|
||||
|
||||
return (
|
||||
<DialogRelink {...defaultProps} isRegistrationDone={isRegistrationDone} />
|
||||
);
|
||||
}
|
||||
|
||||
export function Iterations(): JSX.Element {
|
||||
return (
|
||||
<>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue