Skip to content

Commit

Permalink
fix: added target to link-button props type
Browse files Browse the repository at this point in the history
  • Loading branch information
JesseKoldewijn authored Aug 18, 2023
1 parent 190c4f7 commit 0a1a2db
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/components/ui/link-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@ import Link, { type LinkProps } from "next/link";
import { useMotionAnimate as MotionAnimate } from "@glitchtech-dev/react-motion";

type NavLinkProps = LinkProps & HTMLAttributes<HTMLAnchorElement>;

interface Props extends NavLinkProps {
name?: string;
target?: string;
}

const LinkButton = (props: Props) => {
Expand Down

1 comment on commit 0a1a2db

@vercel
Copy link

@vercel vercel bot commented on 0a1a2db Aug 18, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.