aboutsummaryrefslogtreecommitdiff
path: root/src/webex/renderHtml.tsx
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2017-08-27 03:56:19 +0200
committerFlorian Dold <florian.dold@gmail.com>2017-08-27 03:56:19 +0200
commit8697efd2c8751717a3a3fcaf72feb7c49ebfec02 (patch)
treee41b044c85d459e9b6042aab541fd6c88470528b /src/webex/renderHtml.tsx
parent21c176a69ee04c4d59baedb79017f6c42ece22d6 (diff)
downloadwallet-core-8697efd2c8751717a3a3fcaf72feb7c49ebfec02.tar.xz
implement refunds
Diffstat (limited to 'src/webex/renderHtml.tsx')
-rw-r--r--src/webex/renderHtml.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webex/renderHtml.tsx b/src/webex/renderHtml.tsx
index 51f9019ef..fe964e68a 100644
--- a/src/webex/renderHtml.tsx
+++ b/src/webex/renderHtml.tsx
@@ -73,6 +73,8 @@ export function renderAmount(amount: AmountJson) {
return <span>{x}&nbsp;{amount.currency}</span>;
}
+export const AmountDisplay = ({amount}: {amount: AmountJson}) => renderAmount(amount);
+
/**
* Abbreviate a string to a given length, and show the full