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

[BREAKING] chore(types): document button on click prop #1077

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gcornut
Copy link
Member

@gcornut gcornut commented Jan 24, 2024

General summary

Add type definition for the onClick prop of buttons to properly document them.

Warning

Could provoke type errors in existing code that used an incorrectly type onClick (previously typed as any)

@gcornut gcornut changed the title chore(types): document button on click prop [BREAKING] chore(types): document button on click prop Jul 25, 2024
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.

1 participant