synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
15 lines • 786 B
TypeScript
export 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 function EvaluationEditor({ evaluationId, entityId, onDeleteSuccess, onSaveSuccess, }: EvaluationEditorProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=EvaluationEditor.d.ts.map