UNPKG

@datalayer/core

Version:

[![Datalayer](https://assets.datalayer.tech/datalayer-25.svg)](https://datalayer.io)

34 lines (33 loc) 903 B
import { type PropsWithChildren } from 'react'; import { Kernel } from '@jupyterlab/services'; import { IMultiServiceManager } from '../../stateful/runtimes'; /** * 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({ children, connection, podName, multiServiceManager, disabled, }: PropsWithChildren<IRuntimeSnapshotMenu>): JSX.Element; export {};