Bootstrap Modal Close na formularzu Prześlij w React

function handleCloseModal(){            
    document.getElementById("myModal").classList.remove("show", "d-block");
    document.querySelectorAll(".modal-backdrop")
            .forEach(el => el.classList.remove("modal-backdrop"));
}
Aryamitra Chaudhuri