import { Link } from '@metafam/ds'; import NextLink, { LinkProps } from 'next/link'; import React from 'react'; type Props = Omit, keyof LinkProps> & LinkProps; export const MetaLink: React.FC = ({ children, href, as, passHref, prefetch, replace, scroll, shallow, ...props }) => ( {/* NextLink passes the href */} {/* eslint-disable-next-line jsx-a11y/anchor-is-valid */} {children} );