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