import React from "react"; import { NavLink } from "react-router-dom"; import { ResolvedAddressRenderer } from "../api/address-resolver/address-resolver"; type PlainStringProps = { address: string; name: string; linkable: boolean; dontOverrideColors: boolean | undefined; }; const PlainString: React.FC = ({ address, name, linkable, dontOverrideColors, }) => { if (linkable) { return ( {name} ); } return ( {name} ); }; export const plainStringRenderer: ResolvedAddressRenderer = ( chainId, address, resolvedAddress, linkable, dontOverrideColors ) => ( ); export default PlainString;