update signDocuments microfrontend and change zindex of layout in opensign

This commit is contained in:
prafullnavkar-nxg
2023-10-27 21:59:14 +05:30
parent 8f2e05a2bb
commit 8eec662f5c
13 changed files with 1147 additions and 1048 deletions
@@ -2,25 +2,42 @@ import React from "react";
import Modal from "react-bootstrap/Modal";
import ModalHeader from "react-bootstrap/esm/ModalHeader";
function ModalComponent({ isShow, type }) {
function ModalComponent({ isShow, type,setIsShowEmail }) {
return (
<Modal show={isShow}>
<ModalHeader className="bg-danger" style={{ color: "white" }}>
{type === "pdfFail" ? (
<span>Failed to load pdf!</span>
) : type === "signersAlert" ? (
<span>Select signers</span>
) : (
<span>Document Expired!</span>
)}
</ModalHeader>
<Modal.Body>
{type === "pdfFail" ? (
<p>Something went wrong failed to load pdf file!</p>
{type === "pdfFail" ? (
<p>Something went wrong failed to load pdf file!</p>
) : type === "signersAlert" ? (
<p>Please select signer for add placeholder!</p>
) : (
<p>This Document is no longer available.</p>
)}
</Modal.Body>
<Modal.Footer>
<button
onClick={() => {
setIsShowEmail(false)
}}
style={{
color: "black",
}}
type="button"
className="finishBtn"
>
Ok
</button>
</Modal.Footer>
</Modal>
);
}