synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
16 lines • 1.25 kB
TypeScript
export declare const DEFAULT_MESSAGE_PREPEND = "Thank you for submitting your data access request.\n";
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 data access 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 RejectDataAccessRequestModalProps = {
submissionId: string | number;
tableId?: string;
open: boolean;
onClose: () => void;
};
/**
* Modal component presented to a data access submission reviewer when they decide to reject a request.
* 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 submission and send the message to the requester.
*/
export default function RejectDataAccessRequestModal(props: RejectDataAccessRequestModalProps): import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=RejectDataAccessRequestModal.d.ts.map