notebook-mdx
Version:
Jupyter Notebook support for MDX via Remark and Rehype plugins
37 lines (35 loc) • 1.15 kB
text/typescript
"use client";
import { NotebookData, NotebookOutput } from "./types-CUnnCHms.cjs";
import React from "react";
//#region src/components.d.ts
interface NotebookCodeCellProps {
source: string | string[];
outputs?: NotebookOutput[];
executionCount?: number | null;
showLineNumbers?: boolean;
language?: string;
showCopyButton?: boolean;
showOutputs?: boolean;
showLanguageIndicators?: boolean;
}
declare const NotebookCodeCell: React.FC<NotebookCodeCellProps>;
interface NotebookMarkdownCellProps {
source: string | string[];
}
declare const NotebookMarkdownCell: React.FC<NotebookMarkdownCellProps>;
interface NotebookLoaderProps {
notebookPath?: string;
showCellNumbers?: boolean;
notebookData?: NotebookData | string;
notebookDataJson?: string;
showCopyButton?: boolean;
cells?: string;
hideCode?: boolean;
showOutputs?: boolean;
showLanguageIndicators?: boolean;
}
declare const NotebookLoader: React.FC<NotebookLoaderProps>;
declare const NotebookStyles: React.FC;
//#endregion
export { NotebookCodeCell, NotebookLoader, NotebookMarkdownCell, NotebookStyles };
//# sourceMappingURL=client-CnphJJid.d.cts.map