Sakelar Peringatan
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
Eager Eagle
swal({
title: "Good job!",
text: "You clicked the button!",
icon: "success",
button: "Aww yiss!"
});
<SweetAlert
warning
showCancel
confirmBtnText="Yes, delete it!"
confirmBtnBsStyle="danger"
title="Are you sure?"
onConfirm={this.deleteFile}
onCancel={this.onCancel}
focusCancelBtn
You will not be able to recover this imaginary file!
</SweetAlert>
Import