Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

reactjs sweet alert

<SweetAlert
  warning
  showCancel
  confirmBtnText="Yes, delete it!"
  confirmBtnBsStyle="danger"
  title="Are you sure?"
  onConfirm={this.deleteFile}
  onCancel={this.onCancel}
  focusCancelBtn
  You will not be able to recover this imaginary file!
</SweetAlert>
Source by djorg83.github.io #
 
PREVIOUS NEXT
Tagged: #reactjs #sweet #alert
ADD COMMENT
Topic
Name
7+1 =