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