import React from "react"; import { NavLink } from "react-router-dom"; import { ResolvedAddressRenderer } from "../api/address-resolver/address-resolver"; import ENSLogo from "./ensLogo.svg"; type ENSNameProps = { name: string; address: string; linkable: boolean; dontOverrideColors?: boolean; }; const ENSName: React.FC = ({ name, address, linkable, dontOverrideColors, }) => { if (linkable) { return ( ); } return (
); }; type ContentProps = { linkable: boolean; name: string; }; const Content: React.FC = ({ linkable, name }) => ( <> ENS Logo {name} ); export const ensRenderer: ResolvedAddressRenderer = ( chainId, address, resolvedAddress, linkable, dontOverrideColors ) => ( ); export default ENSName;