Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(react-popup-manager) - adding 'response' to return value of open popup. is resolved after modal is closed. #28

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

varzager
Copy link
Collaborator

#pr-cr@itaya,nitzansi,alexko

…n` popup. is resolved after modal is closed.

#pr-cr@itaya,nitzansi,alexko
…n` popup. is resolved after modal is closed.

#pr-cr@itaya,nitzansi,alexko
CHANGELOG.md Outdated

## [2.2.0] - 2024-08-29
### Added
- `response` - `popupManager.open(Modal)` returns an object that now also has `response` promise that is resolved with consumer's `onClose` `prop`'s response, and if not exist that the arguments that onClose were called with <br>
Copy link

@itayavra itayavra Aug 29, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure its clear what this does

Copy link

@itayavra itayavra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔥 🔥

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants