vite-plugin-react-pages
Version:
<p> <a href="https://www.npmjs.com/package/vite-plugin-react-pages" target="_blank" rel="noopener"><img src="https://img.shields.io/npm/v/vite-plugin-react-pages.svg" alt="npm package" /></a> </p>
27 lines • 779 B
TypeScript
import type { MdxjsEsm, MdxJsxFlowElement } from 'mdast-util-mdx';
/**
* create mdast node for expression:
* import * as name from 'from'
*/
export declare function createNameSpaceImportNode({ name, from, }: {
name: string;
from: string;
}): MdxjsEsm;
/**
* create mdast node for expression:
* import name from 'from'
*/
export declare function createDefaultImportNode({ name, from, }: {
name: string;
from: string;
}): MdxjsEsm;
/**
* create mdast node for expression:
* <Component {...props} />
* checkout the parsed node structure in https://mdxjs.com/playground/
*/
export declare function createJSXWithSpreadPropsNode({ Component, props, }: {
Component: string;
props: string;
}): MdxJsxFlowElement;
//# sourceMappingURL=mdastUtils.d.ts.map