aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/js/balance.jsx
diff options
context:
space:
mode:
authorjloup <jloup@jloup.work>2018-05-13 23:14:26 +0200
committerjloup <jloup@jloup.work>2018-05-13 23:18:48 +0200
commit2e4885d98ec49203180deb7e4e9148762e4720e7 (patch)
treef018a158d2f39133a21dba899176f6fde606bd92 /cmd/web/js/balance.jsx
parent6bf174a95ba0f71abf25397316fc101405381cdf (diff)
downloadFront-2e4885d98ec49203180deb7e4e9148762e4720e7.tar.gz
Front-2e4885d98ec49203180deb7e4e9148762e4720e7.tar.zst
Front-2e4885d98ec49203180deb7e4e9148762e4720e7.zip
Admin minimal dashboard.v0.0.14
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};