React Async Popup

Introduction

Welcome to react-async-popup, an accessible promise based popup library for react, which helps to reduce extra state management needed for Popups. It is inspired from native confirm method.

Installation

To install the stable version you can use npm or yarn:

npm install --save react-async-popup

or

yarn add react-async-popup

General Usage

Here is a basic example using hooks

Here is a basic example without hooks