notebook-mdx
Version:
Jupyter Notebook support for MDX via Remark and Rehype plugins
37 lines (35 loc) • 1.14 kB
TypeScript
"use client";
import { NotebookData, NotebookOutput } from "./types-Cml-tXfL.js";
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-C-8KBq0j.d.ts.map