X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FProjets%2FCryptomonnaies%2FCryptoportfolio%2FFront.git;a=blobdiff_plain;f=cmd%2Fweb%2Fjs%2Fbalance.jsx;h=6217e96236435fdccd0e04a4fe89adcf52b6e0b5;hp=515a7ede549b040c1a2bf1506bd598f2eb6e5c72;hb=2e4885d98ec49203180deb7e4e9148762e4720e7;hpb=6bf174a95ba0f71abf25397316fc101405381cdf 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 { } } -export {PFBalance, Assets}; +class PFBalanceMinimal extends React.Component { + render = () => { + return +
+
+ {this.props.balance} {formatVariation(this.props.variationP)} +
+
+
; + } +} + +export {PFBalance, Assets, PFBalanceMinimal};