import { AnchorHTMLAttributes, DetailedHTMLProps, RefAttributes } from "react";
import { twMerge } from "tailwind-merge";
import { ArrowUpRight, LucideProps } from "lucide-react";
type Props = DetailedHTMLProps<
AnchorHTMLAttributes,
HTMLAnchorElement
> & {
showArrow?: boolean;
arrowSize?: number;
arrowProps?: Omit & RefAttributes;
};
/**
* # General Anchor Elements
* @className twui-a | twui-anchor
*/
export default function Link({
showArrow,
arrowSize = 20,
arrowProps,
...props
}: Props) {
return (
{props.children}
{showArrow && (
)}
);
}