@datalayer/core
Version:
[](https://datalayer.io)
40 lines (39 loc) • 949 B
TypeScript
import { ITranslator } from '@jupyterlab/translation';
/**
* {@link RuntimeCellVariables} properties
*/
interface IRuntimeCellVariablesProps {
/**
* 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;
}
/**
* Runtime Cell Variables Picker.
*/
export declare function RuntimeCellVariables(props: IRuntimeCellVariablesProps): JSX.Element;
export default RuntimeCellVariables;