diff options
author | Sebastian <sebasjm@gmail.com> | 2023-04-21 11:05:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2023-04-21 11:05:41 -0300 |
commit | fc2adae6bd34164b4a13b270be4c585f090afb61 (patch) | |
tree | f1fb3649199007983718bf83f9eeb587173f99e9 /packages | |
parent | 1ee962fbd8a250a185b56ea72b13da7830dc16e9 (diff) | |
download | wallet-core-fc2adae6bd34164b4a13b270be4c585f090afb61.tar.xz |
props types should be exported for tests
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx | 2 | ||||
-rw-r--r-- | packages/taler-wallet-webextension/src/wallet/QrReader.tsx | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx index 317d0d1c7..8e799902f 100644 --- a/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx +++ b/packages/taler-wallet-webextension/src/components/ShowFullContractTermPopup.tsx @@ -74,7 +74,7 @@ function locationAsText(l: Location | undefined): VNode { type State = States.Loading | States.Error | States.Hidden | States.Show; -namespace States { +export namespace States { export interface Loading { status: "loading"; hideHandler: ButtonHandler; diff --git a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx index 99c42edec..10916496c 100644 --- a/packages/taler-wallet-webextension/src/wallet/QrReader.tsx +++ b/packages/taler-wallet-webextension/src/wallet/QrReader.tsx @@ -50,7 +50,7 @@ const Container = styled.div` } `; -interface Props { +export interface Props { onDetected: (url: string) => void; } |