import type {MDXComponents} from 'mdx/types' import {Heading} from './components/ui/Heading' // This file allows you to provide custom React components // to be used in MDX files. You can import and use any // React component you want, including components from // other libraries. // This file is required to use MDX in `app` directory. export function useMDXComponents(components: MDXComponents): MDXComponents { return { h2: ({children}) => {children}, h3: ({children}) => {children}, // Allows customizing built-in components, e.g. to add styling. // h1: ({ children }) =>

{children}

, ...components, } }