blob: baff0aadfef92aceb4bfaf77623328958a1e1f0c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
import { i18n } from "@gnu-taler/taler-util";
import { h, VNode } from "preact";
import { ButtonBoxWarning, WarningBox } from "../components/styled";
export function NoBalanceHelp({
goToWalletManualWithdraw,
}: {
goToWalletManualWithdraw: () => void;
}): VNode {
return (
<WarningBox>
<p>
<b>
<i18n.Translate>You have no balance to show.</i18n.Translate>
</b>
<br />
<i18n.Translate>
To withdraw money you can start from your bank site or click the
"withdraw" button to use a known exchange.
</i18n.Translate>
</p>
<ButtonBoxWarning onClick={() => goToWalletManualWithdraw()}>
Withdraw
</ButtonBoxWarning>
</WarningBox>
);
}
|