import React from "react"; import { NavLink } from "react-router-dom"; type PlainAddressProps = { address: string; linkable: boolean; dontOverrideColors: boolean | undefined; }; const PlainAddress: React.FC = ({ address, linkable, dontOverrideColors, }) => { if (linkable) { return ( {address} ); } return ( {address} ); }; export default PlainAddress;