diff options
Diffstat (limited to 'packages/demobank-ui')
-rwxr-xr-x | packages/demobank-ui/dev.mjs | 3 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/BankFrame.stories.tsx | 29 | ||||
-rw-r--r-- | packages/demobank-ui/src/pages/index.stories.tsx | 1 |
3 files changed, 32 insertions, 1 deletions
diff --git a/packages/demobank-ui/dev.mjs b/packages/demobank-ui/dev.mjs index 0c8289156..b1bfc12eb 100755 --- a/packages/demobank-ui/dev.mjs +++ b/packages/demobank-ui/dev.mjs @@ -16,7 +16,7 @@ */ import { serve } from "@gnu-taler/web-util/node"; -import { initializeDev, getFilesInDirectory } from "@gnu-taler/web-util/build"; +import { initializeDev } from "@gnu-taler/web-util/build"; const devEntryPoints = ["src/stories.tsx", "src/index.tsx"]; @@ -26,6 +26,7 @@ const build = initializeDev({ assets: ["src/index.html"], }, destination: "./dist/dev", + public: "/app", css: "sass", }); diff --git a/packages/demobank-ui/src/pages/BankFrame.stories.tsx b/packages/demobank-ui/src/pages/BankFrame.stories.tsx new file mode 100644 index 000000000..a64885489 --- /dev/null +++ b/packages/demobank-ui/src/pages/BankFrame.stories.tsx @@ -0,0 +1,29 @@ +/* + 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 * as tests from "@gnu-taler/web-util/testing"; +import { BankFrame } from "./BankFrame.js"; + +export default { + title: "bank frame", +}; + +export const Ready = tests.createExample(BankFrame, {}); diff --git a/packages/demobank-ui/src/pages/index.stories.tsx b/packages/demobank-ui/src/pages/index.stories.tsx index 10ce479a1..168e9938e 100644 --- a/packages/demobank-ui/src/pages/index.stories.tsx +++ b/packages/demobank-ui/src/pages/index.stories.tsx @@ -17,3 +17,4 @@ export * as qr from "./QrCodeSection.stories.js"; export * as po from "./PaymentOptions.stories.js"; export * as ptf from "./PaytoWireTransferForm.stories.js"; +export * as frame from "./BankFrame.stories.js"; |