chentsulin/sweetalert-react

Hack for better confirm & close api

chentsulin opened this issue · 0 comments

  • Maybe add show props
  • use callback manually handle alert lifecycle
  • remove timer attr
  • closeOnConfirm, closeOnCancel should be removed
  • add onConfirm, onCancel