more stories in bank demo
This commit is contained in:
parent
14363d42e3
commit
ae2df08abd
21
packages/demobank-ui/src/components/Loading.tsx
Normal file
21
packages/demobank-ui/src/components/Loading.tsx
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
/*
|
||||||
|
This file is part of GNU Taler
|
||||||
|
(C) 2022 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/>
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { h, VNode } from "preact";
|
||||||
|
|
||||||
|
export function Loading(): VNode {
|
||||||
|
return <div>loading...</div>;
|
||||||
|
}
|
33
packages/demobank-ui/src/pages/PaymentOptions.stories.tsx
Normal file
33
packages/demobank-ui/src/pages/PaymentOptions.stories.tsx
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
This file is part of GNU Taler
|
||||||
|
(C) 2022 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 { PaymentOptions } from "./PaymentOptions.js";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: "PaymentOptions",
|
||||||
|
};
|
||||||
|
|
||||||
|
export const USD = {
|
||||||
|
component: PaymentOptions,
|
||||||
|
props: {
|
||||||
|
currency: "USD",
|
||||||
|
},
|
||||||
|
};
|
@ -0,0 +1,33 @@
|
|||||||
|
/*
|
||||||
|
This file is part of GNU Taler
|
||||||
|
(C) 2022 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 { PaytoWireTransferForm } from "./PaytoWireTransferForm.js";
|
||||||
|
|
||||||
|
export default {
|
||||||
|
title: "PaytoWireTransferForm",
|
||||||
|
};
|
||||||
|
|
||||||
|
export const USD = {
|
||||||
|
component: PaytoWireTransferForm,
|
||||||
|
props: {
|
||||||
|
currency: "USD",
|
||||||
|
},
|
||||||
|
};
|
@ -15,3 +15,5 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
export * as qr from "./QrCodeSection.stories.js";
|
export * as qr from "./QrCodeSection.stories.js";
|
||||||
|
export * as po from "./PaymentOptions.stories.js";
|
||||||
|
export * as ptf from "./PaytoWireTransferForm.stories.js";
|
||||||
|
Loading…
Reference in New Issue
Block a user