@tntx/markdown-preview-react
Version:
markdown 预览组件
16 lines (12 loc) • 387 B
TypeScript
import React from 'react';
import * as react_jsx_runtime from 'react/jsx-runtime';
declare const MdPreviewer: React.FC<{
md: string;
}>;
interface IProps {
showCode?: boolean;
code: string;
children?: React.ReactNode;
}
declare const _default: ({ showCode, code, children }: IProps) => react_jsx_runtime.JSX.Element;
export { _default as CodePreviewer, MdPreviewer };