A React wrapper for SweetAlert
npm install --save react-swal
const SweetAlert = require('react-swal');
<SweetAlert isOpen={true}
type="warning"
confirmButtonText="Yup"
cancelButtonText="Nope"
callback={this.callback} />react-swal supports all configuration properties supported by SweetAlert. For more info,
see the "Configuration" section of the SweetAlert docs.