synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
20 lines • 1.58 kB
TypeScript
import { VerificationStateEnum } from '@sage-bionetworks/synapse-types';
export declare const DEFAULT_MESSAGE_PREPEND = "Thank you for submitting your Synapse profile for validation. Before we can accept your request:";
export declare const DEFAULT_MESSAGE_APPEND = "\nIf you have questions, do not respond to this email address. Instead, reply to:\nact@sagebionetworks.org";
export declare const REJECTION_FORM_PROMPT_COPY = "You may wish to reject the user's profile validation request for a specific reason. The list below contains some common rejection reasons. You will have a chance to edit the response before submitting it, including adding any rejection reason(s) not listed here.";
export type RejectProfileValidationRequestModalProps = {
verificationSubmissionId: string;
tableId?: string;
open: boolean;
onRejectionSubmittedSuccess?: () => void;
currentState: VerificationStateEnum;
onClose: () => void;
};
/**
* Modal component presented to an ACT profile validation reviewer when they decide to reject a validation request (a.k.a. a verificationSubmission).
* The modal contains a form for selecting rejection reasons and a text field for editing the rejection message.
* After crafting a message, the user can reject the request and send the message to the requester.
*/
export declare function RejectProfileValidationRequestModal(props: RejectProfileValidationRequestModalProps): import("react/jsx-runtime").JSX.Element;
export default RejectProfileValidationRequestModal;
//# sourceMappingURL=RejectProfileValidationRequestModal.d.ts.map