UNPKG

@datalayer/core

Version:
30 lines (29 loc) 747 B
import { Session } from '@jupyterlab/services'; import { CommandRegistry } from '@lumino/commands'; import type { IRuntimeDesc } from '../../models'; /** * NotebookEditorToolbar component properties */ export type INotebookEditorToolbar = { /** * Jupyter commands registry */ commandRegistry?: CommandRegistry; /** * Kernel description */ runtimeDesc?: IRuntimeDesc; /** * Callback to save the notebook model */ save: () => void; /** * Session connection */ sessionConnection?: Session.ISessionConnection; }; /** * Notebook editor toolbar */ export declare function NotebookEditorToolbar(props: INotebookEditorToolbar): JSX.Element; export default NotebookEditorToolbar;