React Async Popup


Basic Example

Here is a basic example with Confirm.

With Hooks

Reusing an instance

If you wan't to reuse an instance make sure destroyOnClose is passed as false in or

Complex example - Resolving show with custom value.

Following example shows how a value can be passed back to the caller function as a value of promise.