"use client"; import { useButtonClick } from "@/hooks/useButtonClick"; import { cls } from "@/lib/utils"; interface TextLinkProps { text: string; href?: string; onClick?: () => void; className?: string; } const TextLink = ({ text, href = "#", onClick, className = "" }: TextLinkProps) => { const handleClick = useButtonClick(href, onClick); return ( {text} ); }; export default TextLink;