UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

17 lines (16 loc) 780 B
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<{}>; };