diff options
author | Sebastian <sebasjm@gmail.com> | 2021-11-08 09:56:06 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2021-11-08 09:56:06 -0300 |
commit | 6ef5fd21fc365d780da42170ce85042f874ed1dc (patch) | |
tree | e9b86dc8949e1ad38d13f3b13814f3770de45675 /packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx | |
parent | 292d647aa917ecef7fee3f1ebeee0411b4c9a0d6 (diff) | |
download | wallet-core-6ef5fd21fc365d780da42170ce85042f874ed1dc.tar.xz |
some solve challenge examples, WIP
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx')
-rw-r--r-- | packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx b/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx index 5077c3eb0..2712522ce 100644 --- a/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx +++ b/packages/anastasis-webui/src/pages/home/AuthenticationEditorScreen.stories.tsx @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/camelcase */ /* This file is part of GNU Taler (C) 2021 Taler Systems S.A. @@ -26,10 +25,10 @@ import { AuthenticationEditorScreen as TestedComponent } from './AuthenticationE export default { - title: 'Pages/backup/AuthenticationEditorScreen', + title: 'Pages/backup/AuthorizationMethod', component: TestedComponent, args: { - order: 5, + order: 4, }, argTypes: { onUpdate: { action: 'onUpdate' }, @@ -37,7 +36,7 @@ export default { }, }; -export const Example = createExample(TestedComponent, reducerStatesExample.authEditing); +export const InitialState = createExample(TestedComponent, reducerStatesExample.authEditing); export const OneAuthMethodConfigured = createExample(TestedComponent, { ...reducerStatesExample.authEditing, authentication_methods: [{ @@ -86,8 +85,3 @@ export const NoAuthMethodProvided = createExample(TestedComponent, { authentication_providers: {}, authentication_methods: [] } as ReducerState); - - // type: string; - // instructions: string; - // challenge: string; - // mime_type?: string; |