UNPKG

@datalayer/core

Version:
37 lines (36 loc) 931 B
import { type PropsWithChildren } from 'react'; import { Kernel } from '@jupyterlab/services'; import { IMultiServiceManager } from '../../api'; /** * Runtime snapshot menu component properties */ type IRuntimeSnapshotMenu = { /** * Application multi service manager. */ multiServiceManager?: IMultiServiceManager; /** * Connection to the current kernel. * * It is needed only for browser kernels. */ connection?: Kernel.IKernelConnection; /** * Pod name * * It is needed for remote kernels. */ podName?: string; /** * Whether the menu is disabled. */ disabled: boolean; }; /** * Runtime Snapshot menu component. */ export declare function RuntimeSnapshotMenu(props: PropsWithChildren<IRuntimeSnapshotMenu>): JSX.Element; export declare namespace RuntimeSnapshotMenu { var defaultProps: Partial<IRuntimeSnapshotMenu>; } export {};