UNPKG

vite-pages-theme-doc

Version:
12 lines 576 B
import React from 'react'; declare const MDX: React.FC<React.PropsWithChildren<any>>; export default MDX; /** * We only need to add ".markdown-el" className to top-level block elements under the markdown root. * our github-markdown-light.css will add markdown style to markdown-el and all its descendants * * Ref: "FlowContent" are the top-level block elements in mdast * https://github.com/syntax-tree/mdast#flowcontent */ export declare function withMdClassName(Component: React.FC<any> | string): (props: any) => React.JSX.Element; //# sourceMappingURL=index.d.ts.map