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: add dialog with variable buttons #54

Merged
merged 1 commit into from
May 15, 2024
Merged

feat: add dialog with variable buttons #54

merged 1 commit into from
May 15, 2024

Conversation

roele
Copy link
Collaborator

@roele roele commented May 15, 2024

Fixes #53

@roele roele requested a review from jdx May 15, 2024 12:32
src/dialog.rs Outdated Show resolved Hide resolved

/// Displays the dialog to the user and returns their response.
///
/// The response will be the label of the selected button.
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Not sure if we need a value property on the DialogButton or if the label is good enough

@jdx jdx merged commit c3da480 into jdx:main May 15, 2024
1 check passed
@roele roele deleted the issues/53 branch May 15, 2024 13:46
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.

add dialog with variable buttons
2 participants