import classNames from "classnames"; import * as React from "react"; import { Typography } from "../Typography/Typography"; import styles from "./Link.module.scss"; export type LinkVariant = "primary" | "secondary"; export interface LinkProps extends React.ComponentPropsWithoutRef<"a"> { /** * The content for the Link */ children: string; /** * The href for the Link */ href: string; /** * The variant for the Link * * @default "primary" */ variant?: LinkVariant; } /** * @public * * @description * * The Link component allows a user to navigate to a new page. */ export const Link: React.FC = (props) => { const { className, children, href, variant = "primary", ...rest } = props; return ( {children} ); }; Link.displayName = "Link";