first commit
This commit is contained in:
16
resources/assets/vendor/libs/sweetalert2/sweetalert2.js
vendored
Normal file
16
resources/assets/vendor/libs/sweetalert2/sweetalert2.js
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
import SwalPlugin from 'sweetalert2/dist/sweetalert2';
|
||||
|
||||
const Swal = SwalPlugin.mixin({
|
||||
buttonsStyling: false,
|
||||
customClass: {
|
||||
confirmButton: 'btn btn-primary',
|
||||
cancelButton: 'btn btn-label-danger',
|
||||
denyButton: 'btn btn-label-secondary'
|
||||
}
|
||||
});
|
||||
|
||||
try {
|
||||
window.Swal = Swal;
|
||||
} catch (e) {}
|
||||
|
||||
export { Swal };
|
Reference in New Issue
Block a user