UNPKG

@datalayer/core

Version:
40 lines (39 loc) 937 B
import { ITranslator } from '@jupyterlab/translation'; /** * {@link KernelCellVariables} properties */ interface IKernelCellVariablesProps { /** * Variable names to be imported */ inputs: string[]; /** * Importable variable names */ getInputOptions?: () => Promise<string[]>; /** * Set the variable names to be imported */ setInputs: (values: string[]) => void; /** * Variable name to be exported */ output?: string; /** * Exportable variable names */ getOutputOptions?: () => Promise<string[]>; /** * Set the variable name to be exported */ setOutput: (value?: string) => void; /** * Application translator object */ translator?: ITranslator; } /** * Kernel variables picker */ export declare function KernelCellVariables(props: IKernelCellVariablesProps): JSX.Element; export default KernelCellVariables;