import * as React from 'react'; import { Link as ReactLink } from 'react-router-dom'; import styled from '@emotion/styled'; type ContactLinkProps = { className?: string; href: string; children?: React.ReactNode; onClick?: (event: React.MouseEvent) => void; }; const StyledClickable = styled.div` display: flex; overflow: hidden; white-space: nowrap; a { color: inherit; overflow: hidden; text-decoration: underline; text-decoration-color: ${({ theme }) => theme.border.color.strong}; text-overflow: ellipsis; &:hover { text-decoration-color: ${({ theme }) => theme.font.color.primary}; } } `; export const ContactLink = ({ className, href, children, onClick, }: ContactLinkProps) => (
{children}
);