4.0.0 • Published 2 years ago

react-swal v4.0.0

Weekly downloads
296
License
-
Repository
github
Last release
2 years ago

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.

4.0.0

2 years ago

3.0.0

7 years ago

2.0.0

8 years ago

1.0.0

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

9 years ago

0.1.0

9 years ago