1.0.3 • Published 3 years ago

reactstrap-alert v1.0.3

Weekly downloads
44
License
ISC
Repository
gitlab
Last release
3 years ago

reactstrap-alert

По русски

A simple way to display dialogs with reactstrap

The task of the package is to replace the browser methods alert(), confirm(), prompt() with modal windows in the style of bootstrap using reactstrap

Installation

  • NPM
npm i --save reactstrap-alert
  • yarn
yarn add reactstrap-alert

Dependencies

  • react
  • reactstrap
  • lodash

Usage

Just import the module

import {Alert, Confirm} from 'reactstrap-alert'

// ... code

const answer = await Confirm ("Do you really want to delete this user");
if (answer) {
    // ... code
    await Alert ("User deleted")
}
1.0.2

3 years ago

1.0.1

3 years ago

1.0.3

3 years ago

1.0.0

3 years ago

0.0.6

3 years ago

0.0.5

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

5 years ago

0.0.1

5 years ago