Bereaksi bootstrap sweetalert2
$ npm i react-bootstrap-sweetalert
Dev Mahir
$ npm i react-bootstrap-sweetalert
import SweetAlert from 'react-bootstrap-sweetalert';
const SweetAlert = require('react-bootstrap-sweetalert');