synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
17 lines (16 loc) • 780 B
TypeScript
import React from 'react';
export declare type EvaluationEditorPageProps = {
/** 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;
};
/**
* Combined editor that allows editing an Evaluation's data and also it's associated rounds (once the Evaluation exists on Synapse)
*/
export declare const EvaluationEditorPage: React.FunctionComponent<EvaluationEditorPageProps>;
export declare const HelpersToTest: {
FakeEvaluationRoundEditorList: React.FunctionComponent<{}>;
};