🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

react-swal

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-swal

React wrapper for SweetAlert

latest
Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

react-swal

A React wrapper for SweetAlert

Installation

npm install --save react-swal

Usage

const SweetAlert = require('react-swal');

<SweetAlert isOpen={true}
            type="warning"
            confirmButtonText="Yup"
            cancelButtonText="Nope"
            callback={this.callback} />

Properties

react-swal supports all configuration properties supported by SweetAlert. For more info, see the "Configuration" section of the SweetAlert docs.

License

MIT License.

Keywords

react

FAQs

Package last updated on 31 May 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts