Created
November 3, 2020 19:08
-
-
Save unicornware/e1ce41ec7414f3ac04e2d3efeb8a34e9 to your computer and use it in GitHub Desktop.
mdx-scoped-runtime declaration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <reference types='mdx-js__react' /> | |
declare module 'mdx-scoped-runtime' { | |
import { FC, ReactNode } from 'react' | |
type AnyObject = Record<string, any> | |
interface MDXProps extends MDXProviderProps { | |
children?: ReactNode | |
components?: MDXProviderComponents | |
scope?: Record<string, FC<AnyObject>> | AnyObject | |
} | |
let MDX: (props: MDXProps) => JSX.Element | |
export default MDX | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment