diff --git a/src/components/typography/Link.tsx b/src/components/typography/Link.tsx index 184bbb7..442eeea 100644 --- a/src/components/typography/Link.tsx +++ b/src/components/typography/Link.tsx @@ -7,8 +7,7 @@ type Props = { children: React.ReactNode; disabled?: boolean; className?: string; -} & NavLinkProps & - Omit, "">; +} & NavLinkProps; function getURL(to: string): URL { try { @@ -26,12 +25,14 @@ export default function Link({ children, disabled, className, + style, ...props }: Props) { const link = getURL(to).hostname === window.location.hostname ? ( {children} @@ -39,6 +40,13 @@ export default function Link({ ) : (