I'm currently utilizing a confirmation popup feature provided by react-confirm-alert
:
popup = _id => {
confirmAlert({
title: "Delete user",
message: "Are you sure?",
buttons: [
{
label: "Yes",
onClick: () => this.deleteUserHandler(_id)
},
{
label: "No",
}
],
closeOnEscape: true,
closeOnClickOutside: true,
});
}
Is there a way to customize its appearance? I was able to modify the overlay using the following code snippet.
.react-confirm-alert-overlay {
background: rgba(0,0,0,0.5);
However, I am uncertain on how to change the design of the buttons, message text or labels. Any guidance would be greatly appreciated.