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

16 lines (15 loc) 695 B
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>;