Last active
September 24, 2021 21:50
-
-
Save ecklf/cf47753c09db656489fa2a47290cf89f to your computer and use it in GitHub Desktop.
Revisions
-
ecklf revised this gist
Sep 24, 2021 . 2 changed files with 6 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ declare module "*.mdx" { let MDXComponent: (props: any) => JSX.Element; export default MDXComponent; export const frontMatter: FrontMatter[]; } This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -38,4 +38,4 @@ declare module "@mdx-js/react" { components: Components; } export class MDXProvider extends React.Component<MDXProviderProps> {} } -
ecklf created this gist
Sep 24, 2021 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,41 @@ declare module "@mdx-js/react" { import * as React from "react"; type ComponentType = | "a" | "blockquote" | "code" | "delete" | "em" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "hr" | "img" | "inlineCode" | "li" | "ol" | "p" | "pre" | "pre.code" | "strong" | "sup" | "table" | "td" | "thematicBreak" | "tr" | "ul"; export type Components = { [key in ComponentType]?: React.ComponentType<{ className: string; children: React.ReactNode; }>; }; export interface MDXProviderProps { children: React.ReactNode; components: Components; } export class MDXProvider extends React.Component<MDXProviderProps> {} }