import React, {Component} from 'react'; type CardProps = { title: string, content: string, logo?: JSX.Element, } export class SidebarCard extends Component { constructor(props: CardProps) { super(props) } render() { return (
{this.props.logo} {this.props.title}
{this.props.content}
) } } export class WalletCard extends Component{ constructor(props) { super(props); } render(){ return(

Your Wallets

Bitcoin
100%
0.0010 BTC
CA$21.28
Litecoin
0%
0.0000 LTC
CA$0.00
Ethereum
0%
0.0000 ETH
CA$0.00
Total Balance ≈ CA$21.28
) } }