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

missing ,(comma) #59

Closed battleplayer02 closed 3 years ago

battleplayer02 commented 3 years ago

const options = { title: 'Title', message: 'Message', buttons: [ { label: 'Yes', onClick: () => alert('Click Yes') }, { label: 'No', onClick: () => alert('Click No') } ], childrenElement: () =>

, customUI: ({ onClose }) =>
Custom UI
, closeOnEscape: true, closeOnClickOutside: true, willUnmount: () => {}, afterClose: () => {},//comma is missing here onClickOutside: () => {}, onKeypressEscape: () => {} };

confirmAlert(options);