Dialog onDismiss TypeScript #823
Unanswered
leighkendell
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all, I noticed in the last update to the dialog component the "event" passed to the onDismiss function is now no longer marked as optional. Is this expected?
This is the commit in question: 3404072
I've previously called onDismiss() without passing any args without issue and the docs state the event is optional too: https://reach.tech/dialog#dialog-ondismiss
Beta Was this translation helpful? Give feedback.
All reactions