GA-MO / react-confirm-alert

react component confirm dialog.
https://ga-mo.github.io/react-confirm-alert/demo/
MIT License
271 stars 105 forks source link

Pass event and onClose function to onkeyPress function #89

Open IceFreez3r opened 1 year ago

IceFreez3r commented 1 year ago

Allows more flexibility for the user, e.g. close/confirm+close by pressing Enter