11 lines
286 B
TypeScript
11 lines
286 B
TypeScript
import clsx from "clsx"
|
|
|
|
function Link({
|
|
className,
|
|
...props
|
|
}: React.DetailedHTMLProps<React.AnchorHTMLAttributes<HTMLAnchorElement>, HTMLAnchorElement>) {
|
|
return <a className={clsx("underline active:bg-stone-700 active:text-stone-200", className)} {...props} />
|
|
}
|
|
|
|
export { Link }
|