aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/balance.jsx
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/js/balance.jsx')
-rw-r--r--cmd/web/js/balance.jsx14
1 files changed, 13 insertions, 1 deletions
diff --git a/cmd/web/js/balance.jsx b/cmd/web/js/balance.jsx
index 515a7ed..6217e96 100644
--- a/cmd/web/js/balance.jsx
+++ b/cmd/web/js/balance.jsx
@@ -95,4 +95,16 @@ class PFBalance extends React.Component {
95 } 95 }
96} 96}
97 97
98export {PFBalance, Assets}; 98class PFBalanceMinimal extends React.Component {
99 render = () => {
100 return <React.Fragment>
101 <div className="balance">
102 <div className="col-12">
103 <CurrencyLogo currency="BTC" /> <span><strong>{this.props.balance}</strong> <strong>{formatVariation(this.props.variationP)}</strong></span>
104 </div>
105 </div>
106 </React.Fragment>;
107 }
108}
109
110export {PFBalance, Assets, PFBalanceMinimal};