diff options
author | Florian Dold <florian.dold@gmail.com> | 2017-08-27 03:56:19 +0200 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2017-08-27 03:56:19 +0200 |
commit | 8697efd2c8751717a3a3fcaf72feb7c49ebfec02 (patch) | |
tree | e41b044c85d459e9b6042aab541fd6c88470528b /src/webex/renderHtml.tsx | |
parent | 21c176a69ee04c4d59baedb79017f6c42ece22d6 (diff) | |
download | wallet-core-8697efd2c8751717a3a3fcaf72feb7c49ebfec02.tar.xz |
implement refunds
Diffstat (limited to 'src/webex/renderHtml.tsx')
-rw-r--r-- | src/webex/renderHtml.tsx | 2 |
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} {amount.currency}</span>; } +export const AmountDisplay = ({amount}: {amount: AmountJson}) => renderAmount(amount); + /** * Abbreviate a string to a given length, and show the full |