import dynamic from 'next/dynamic' import { MDXProvider } from '@mdx-js/react' import { useState } from 'react' import { Spinner } from 'shared/components/spinner.mjs' import { PageLink } from 'shared/components/page-link.mjs' import { useTranslation } from 'next-i18next' import { MdxComponents } from 'shared/components/mdx/index.mjs' export const components = MdxComponents console.log('these are the', components) export const ns = ['modal'] export const MdxWrapper = ({ title = false, path, language, children }) => { const { t } = useTranslation(ns) const slug = `${language === 'en' ? '' : '/' + language}/docs/${path}` return ( <> {title ?
{JSON.stringify(Object.keys(components), null, 2)}