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: djorg83.github.io