diff options
author | jloup <jloup@jloup.work> | 2018-05-13 23:14:26 +0200 |
---|---|---|
committer | jloup <jloup@jloup.work> | 2018-05-13 23:18:48 +0200 |
commit | 2e4885d98ec49203180deb7e4e9148762e4720e7 (patch) | |
tree | f018a158d2f39133a21dba899176f6fde606bd92 /cmd/web/js/balance.jsx | |
parent | 6bf174a95ba0f71abf25397316fc101405381cdf (diff) | |
download | Front-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.jsx | 14 |
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 | ||
98 | export {PFBalance, Assets}; | 98 | class 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 | |||
110 | export {PFBalance, Assets, PFBalanceMinimal}; | ||