-
Notifications
You must be signed in to change notification settings - Fork 552
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modal: Close is a promise + onClickOutside
Make the modal closing function a promise as it's done asynchronously. Add another optional callback that's called only in the case when clicking outside the modal.
- Loading branch information
1 parent
a4a41c6
commit 7bcb7e9
Showing
1 changed file
with
25 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters