mirror of
https://github.com/LuauDAO/beachbums-nft-mint-dapp.git
synced 2026-01-09 21:27:59 -05:00
18 lines
325 B
TypeScript
18 lines
325 B
TypeScript
import Link from 'next/link';
|
|
|
|
type Props = {
|
|
href: string;
|
|
className?: string;
|
|
'aria-label'?: string;
|
|
onClick?: () => void;
|
|
children?: React.ReactNode;
|
|
};
|
|
|
|
export default function NextLink({ href, children, ...rest }: Props) {
|
|
return (
|
|
<Link href={href}>
|
|
<a {...rest}>{children}</a>
|
|
</Link>
|
|
);
|
|
}
|