import React from "react"; import styled from "styled-components"; import EXTERNAL_LINK_PROPS from "../../util/externalLinkProps"; import Text from "../Text/Text"; import { LinkProps } from "./types"; export const StyledLink = styled(Text)` display: flex; font-weight: 600; align-items: center; width: fit-content; &:hover { text-decoration: underline; } `; const Link: React.FC> = ({ external, ...props }) => { const internalProps = external ? EXTERNAL_LINK_PROPS : {}; return ; }; /* eslint-disable react/default-props-match-prop-types */ Link.defaultProps = { color: "primary", }; export default Link;