Made with create-react-library
npm install --save custom-sweet-alert
import { CustomSweetAlert } from 'custom-sweet-alert';
import 'custom-sweet-alert/dist/index.css'
<CustomSweetAlert
isOpen={true}
type="confirm"
title="Sure ?"
infoText="Are you sure to remove this card ?"
onActionHandle={() => this.onActionHandle()}
/>
MIT © wondercrazy15