Blockers #2360
1 changed files with 8 additions and 6 deletions
|
@ -10,13 +10,15 @@ type Props = {
|
|||
const WalletBalance = (props: Props) => {
|
||||
const { balance } = props;
|
||||
return (
|
||||
<section className="card card--section card--wallet-balance">
|
||||
<header className="card__header">
|
||||
<h2 className="card__title">{__('Balance')}</h2>
|
||||
<p className="card__subtitle">{__('You currently have')}</p>
|
||||
<section
|
||||
className='card card--section card--wallet-balance'
|
||||
style={{ backgroundImage: `url(${BalanceBackground})` }}
|
||||
>
|
||||
<header className='card__header'>
|
||||
<h2 className='card__title'>{__('Balance')}</h2>
|
||||
<p className='card__subtitle'>{__('You currently have')}</p>
|
||||
</header>
|
||||
|
||||
<div className="card__content">
|
||||
<div className='card__content'>
|
||||
{(balance || balance === 0) && (
|
||||
<CreditAmount large badge={false} amount={balance} precision={8} />
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue