summaryrefslogtreecommitdiff
path: root/packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2021-10-26 12:08:03 -0300
committerSebastian <sebasjm@gmail.com>2021-10-26 12:08:08 -0300
commit21b60c8f6ff69bf114779a767a3ac3355f69a34f (patch)
treec548dd7601b24d9dae4173d725656d35ce4bc26e /packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx
parent835ac85a28dc11b5d7f5cff041ff7973d244e07e (diff)
downloadwallet-core-21b60c8f6ff69bf114779a767a3ac3355f69a34f.tar.gz
wallet-core-21b60c8f6ff69bf114779a767a3ac3355f69a34f.tar.bz2
wallet-core-21b60c8f6ff69bf114779a767a3ac3355f69a34f.zip
added core validators, worked on look and feel
Diffstat (limited to 'packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx')
-rw-r--r--packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx38
1 files changed, 38 insertions, 0 deletions
diff --git a/packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx b/packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx
new file mode 100644
index 000000000..e5fe09e99
--- /dev/null
+++ b/packages/anastasis-webui/src/pages/home/ChallengePayingScreen.stories.tsx
@@ -0,0 +1,38 @@
+/*
+ This file is part of GNU Taler
+ (C) 2021 Taler Systems S.A.
+
+ GNU Taler is free software; you can redistribute it and/or modify it under the
+ terms of the GNU General Public License as published by the Free Software
+ Foundation; either version 3, or (at your option) any later version.
+
+ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY
+ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+ A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License along with
+ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
+ */
+
+/**
+*
+* @author Sebastian Javier Marchano (sebasjm)
+*/
+
+import { createExample, reducerStatesExample } from '../../utils';
+import { ChallengePayingScreen as TestedComponent } from './ChallengePayingScreen';
+
+
+export default {
+ title: 'Pages/recovery/__ChallengePayingScreen',
+ component: TestedComponent,
+ args: {
+ order: 10,
+ },
+ argTypes: {
+ onUpdate: { action: 'onUpdate' },
+ onBack: { action: 'onBack' },
+ },
+};
+
+export const Example = createExample(TestedComponent, reducerStatesExample.challengePaying);