import React from 'react' import { Theme, createStyles, makeStyles, useTheme } from '@material-ui/core/styles'; import { Card, CardContent, Typography } from '@material-ui/core/'; import EthereumAddress from '../components/EthereumAddress'; import { Skeleton } from '@material-ui/lab'; import type { ChequebookAddressResponse } from '@ethersphere/bee-js'; const useStyles = makeStyles((theme: Theme) => createStyles({ root: { display: 'flex', marginTop: '20px', }, details: { display: 'flex', flexDirection: 'column', }, content: { flex: '1 0 auto', }, status: { color: '#fff', backgroundColor: '#76a9fa', } }), ); interface NodeAddresses { overlay: string, underlay: string[], ethereum: string, public_key: string, pss_public_key: string } interface IProps{ nodeAddresses: NodeAddresses | null, isLoadingNodeAddresses: boolean, chequebookAddress: ChequebookAddressResponse | null, isLoadingChequebookAddress: boolean, } function EthereumAddressCard(props: IProps) { const classes = useStyles(); const theme = useTheme(); return (