import Link from "next/link";
import { ReactNode } from "react";
const arrowChildren = (children: ReactNode) => (
<>
{children}
→
>
);
type ArrowLinkProps = {
href: string;
children: ReactNode;
className?: string;
target?: string;
rel?: string;
};
export function ArrowLink({ href, children, className, target, rel }: ArrowLinkProps) {
return (
{arrowChildren(children)}
);
}
type ArrowButtonProps = {
onClick: () => void;
children: ReactNode;
className?: string;
};
export function ArrowButton({ onClick, children, className }: ArrowButtonProps) {
return (
);
}