import React, { FunctionComponent } from "react";
import { ExternalLink } from "react-feather";
import { makeAddressURL } from "../../utils";
interface AddressBookTableRowProps {
onAddressSelect: () => void;
address: string;
isLocal: boolean;
name: string;
network?: string;
source?: string;
}
interface AddressBookEtherscanLinkProps {
address: string;
network: string;
}
const AddressBookEtherscanLink: FunctionComponent<
AddressBookEtherscanLinkProps
> = ({ address, network }) => {
const addressHref = makeAddressURL(address, network);
return (
{message}