synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
16 lines (15 loc) • 695 B
TypeScript
import React from 'react';
export declare type EvaluationEditorProps = {
/** Use if UPDATING an existing Evaluation. Id of the evaluation to edit */
readonly evaluationId?: string;
/** Use if CREATING a new Evaluation. Id of the Entity that will be associated with the Evaluation */
readonly entityId?: string;
/** Callback after successful deletion of the Evaluation */
readonly onDeleteSuccess: () => void;
/** Callback after successful save of the Evaluation */
readonly onSaveSuccess?: (evaluationId: string) => void;
};
/**
* Edits basic properties of an Evaluation
*/
export declare const EvaluationEditor: React.FunctionComponent<EvaluationEditorProps>;