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(Dialog): add event args to dialog show methods #2092

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

yair65
Copy link
Contributor

@yair65 yair65 commented Apr 30, 2024

  • added exposing event handling for onDialogDidShow

  • I have read the Contribution Guide for this project.

@yair65 yair65 requested a review from a team as a code owner April 30, 2024 13:22
Copy link
Contributor

@YossiSaadi YossiSaadi left a comment

Choose a reason for hiding this comment

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

Awesome work man 👏🏼

@@ -113,7 +113,7 @@ export interface DialogProps extends VibeComponentProps {
/**
* callback to be called when the dialog is shown
*/
onDialogDidShow?: () => void;
onDialogDidShow?: (event?: DialogEvent, eventName?: HideShowEvent | string) => void;
Copy link
Contributor

Choose a reason for hiding this comment

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

btw I'm not sure they should be optional in here

@YossiSaadi YossiSaadi changed the title feat(Dialog.tsx): add event args to dialog show methods feat(Dialog): add event args to dialog show methods Apr 30, 2024
@YossiSaadi YossiSaadi merged commit 352a48a into mondaycom:master Apr 30, 2024
4 checks passed
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.

2 participants