I am using javascript sweetalert2 library.
I want to remove the OK button from the alert box but I did not find any property for not to display this button.
I am using the timer property timer:1000
for closing the alert in one second.
So, I don't think there is a use of the ok button in this matter.