How can I change the size of button in sweet alert.
The code is:
swal({
title: `Are you sure to delete this news posted by ${news.users.user_name} ?`,
text: `Once deleted, you will not be able to recover this post!`,
icon: "warning",
buttons: true,
dangerMode: true,
}).then(willDelete => {
if (willDelete) {
this.props.deleteNewsPosts(news._id)
} else {
swal(`This news is safe!`)
}
})
}
