aboutsummaryrefslogtreecommitdiff
path: root/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-03-29 00:25:33 -0300
committerSebastian <sebasjm@gmail.com>2022-03-29 00:25:33 -0300
commit47f51ced7f6180fcb6a7cf2f543cbb7782383fab (patch)
treeeb2f8095bfd04116bb8dee049f91810c89e3ac22 /packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
parentf1110e82de67d9b02550a6e42bed8a59346f0d0b (diff)
downloadwallet-core-47f51ced7f6180fcb6a7cf2f543cbb7782383fab.tar.xz
import image as datauri, some eslint fixes
Diffstat (limited to 'packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx')
-rw-r--r--packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
index f81487c86..b4dfb6ce0 100644
--- a/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
+++ b/packages/taler-wallet-webextension/src/wallet/Transaction.stories.tsx
@@ -32,7 +32,6 @@ import {
TransactionWithdrawal,
WithdrawalType,
} from "@gnu-taler/taler-util";
-import { ComponentChildren, h } from "preact";
import { DevContextProviderForTesting } from "../context/devContext.js";
import {
createExample,
@@ -239,6 +238,8 @@ export const PaymentPending = createExample(TestedComponent, {
transaction: { ...exampleData.payment, pending: true },
});
+import beer from "../../static-dev/beer.png";
+
export const PaymentWithProducts = createExample(TestedComponent, {
transaction: {
...exampleData.payment,
@@ -263,11 +264,13 @@ export const PaymentWithProducts = createExample(TestedComponent, {
description: "beer",
unit: "pint",
quantity: 15,
+ image: beer,
},
{
description: "beer",
unit: "pint",
quantity: 15,
+ image: beer,
},
],
},