import clsx from "clsx"; import type { ComponentProps, ElementType } from "react"; import styles from "./index.module.scss"; import { Button } from "../unstyled/Button/index.js"; import { Link as UnstyledLink } from "../unstyled/Link/index.js"; type OwnProps = { invert?: boolean | undefined; }; type Props = Omit, keyof OwnProps> & OwnProps; export const Link = ( props: Props | Props, ) => "href" in props ? ( ) : (