import swal from "sweetalert2";
export const Swal = swal;
export const Input = Swal.mixin({
input: "text",
showCancelButton: true,
showConfirmButton: true,
toast: false,
});
export const NumberInput = Input.mixin({
toast: false,
input: "number"
});
export const Toast = Swal.mixin({
toast: true,
position: "bottom"
});
export const Confirm = Swal.mixin({
icon: "warning",
showCancelButton: true,
toast: false,
confirmButtonText: "Confirm",
cancelButtonText: "Cancel"
});
export const Info = Swal.mixin({
icon: "info",
showCancelButton: false,
toast: false
});
export const License = Swal.mixin({
icon: "info",
showCancelButton: true,
toast: false,
confirmButtonText: "Agree",
cancelButtonText: "Disagree"
});
export const NoLicense = Swal.mixin({
icon: "error",
showCancelButton: true,
toast: false,
confirmButtonText: "Reload",
cancelButtonText: "Play without hacks"
});
window.Swal = Swal;