openConfirmation modal return a promise #6186
Closed
imsherrill
started this conversation in
Feature requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in my mantine project we have made the following helper:
the idea being that we could use it like so:
what do you think of incorporating this as a first class feature? I looked into the code and saw
openConfirmModal
uses a reducer under the hood, so its not immediately obvious to me how it'd be implemented, but if given some pointers I'd be happy to take on the feature workBeta Was this translation helpful? Give feedback.
All reactions