|
|
@@ -1,9 +1,10 @@
|
|
|
|
|
|
import type { LinkProps } from 'next/link';
|
|
|
+import React from 'react';
|
|
|
|
|
|
import { NextLink } from '~/components/ReactMarkdownComponents/NextLink';
|
|
|
|
|
|
-export const NextLinkWrapper = (props: LinkProps & {children: string, href: string}): JSX.Element => {
|
|
|
+export const NextLinkWrapper = (props: LinkProps & {children: React.ReactNode, href: string}): JSX.Element => {
|
|
|
return (
|
|
|
<NextLink href={props.href} className="link-primary">
|
|
|
{props.children}
|