import { Typography } from '@material-ui/core/' import QRCodeModal from './QRCodeModal' import ClipboardCopy from './ClipboardCopy' import Identicon from 'react-identicons' import { ReactElement } from 'react' interface Props { address: string | undefined network?: string hideBlockie?: boolean transaction?: boolean truncate?: boolean } export default function EthereumAddress(props: Props): ReactElement { return ( {props.address ? (
{props.hideBlockie ? null : (
)}
{props.address}
) : ( '-' )}
) }