Skip to content

wondercrazy15/custom-sweet-alert

Repository files navigation

custom-sweet-alert

Made with create-react-library

NPM JavaScript Style Guide

Install

npm install --save custom-sweet-alert

Usage

import { CustomSweetAlert } from 'custom-sweet-alert';
import 'custom-sweet-alert/dist/index.css'

 <CustomSweetAlert
    isOpen={true}
    type={"confirm" || "success" || "fail"} 
    title="Sure ?"
    infoText="Are you sure to remove this card ?"
    onActionHandle={() => this.onActionHandle()}
  />

License

MIT © wondercrazy15

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published