/* eslint-disable react/no-unstable-nested-components */ import React from 'react'; // import { useRouter } from 'next/router'; import { Box, Text, Link as GLink } from '../../primitives'; import { H1 } from '../H1'; import { H2 } from '../H2'; import { H3 } from '../H3'; import { H4 } from '../H4'; import { H5 } from '../H5'; import { UL } from '../UL'; import { LI } from '../LI'; import { BlockQuote } from '../BlockQuote'; import { InlineCode } from '../InlineCode'; import { CodePreview } from '../CodePreview'; import OL from '../OL'; import { LayoutContent } from '../Layout/LayoutContent'; export const Blog = React.forwardRef(({ children, MDXProvider }: any) => { // const router = useRouter(); return ( { return (

); }, h2: (props: any) => { return

; }, h3: (props: any) => { return

; }, h4: (props: any) => { return

; }, h5: (props: any) => { return

; }, pre: (props: any) => { return ( ); }, ul: (props: any) =>
    , ol: (props: any) =>
      , li: (props: any) => { return (
    1. {props?.children}
    2. ); }, p: (props: any) => ( ), a: (props: any) => { return ( ); }, code: (props: any) => { return {props.children}; }, blockquote: (props: any) => { //@ts-ignore x.children[1].props added due to internal bug in next-mdx return (
      {props.children[1].props.children}
      ); }, }} > {children} {/** Extra Space will be used for quick nav */} {/* */} ); });