Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Wallet/Wallet.js
Show All 18 Lines | export const LoadingCtn = styled.div` | ||||
svg { | svg { | ||||
width: 50px; | width: 50px; | ||||
height: 50px; | height: 50px; | ||||
fill: #ff8d00; | fill: #ff8d00; | ||||
} | } | ||||
`; | `; | ||||
export const WalletName = styled.h4` | |||||
font-size: 16px; | |||||
display: inline-block; | |||||
color: #ff8d00 !important; | |||||
`; | |||||
export const BalanceHeader = styled.div` | export const BalanceHeader = styled.div` | ||||
color: #444; | color: #444; | ||||
width: 100%; | width: 100%; | ||||
font-size: 30px; | font-size: 30px; | ||||
font-weight: bold; | font-weight: bold; | ||||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||||
font-size: 23px; | font-size: 23px; | ||||
} | } | ||||
▲ Show 20 Lines • Show All 187 Lines • ▼ Show 20 Lines | return ( | ||||
address === 'slpAddress' | address === 'slpAddress' | ||||
? wallet.Path245.slpAddress | ? wallet.Path245.slpAddress | ||||
: wallet.Path145.cashAddress | : wallet.Path145.cashAddress | ||||
} | } | ||||
/> | /> | ||||
)} | )} | ||||
</> | </> | ||||
)} | )} | ||||
<WalletName>Wallet Name: {wallet.name}</WalletName> | |||||
<SwitchBtnCtn> | <SwitchBtnCtn> | ||||
<SwitchBtn | <SwitchBtn | ||||
onClick={() => handleChangeAddress()} | onClick={() => handleChangeAddress()} | ||||
className={ | className={ | ||||
address !== 'cashAddress' ? 'nonactiveBtn' : null | address !== 'cashAddress' ? 'nonactiveBtn' : null | ||||
} | } | ||||
> | > | ||||
▲ Show 20 Lines • Show All 47 Lines • Show Last 20 Lines |