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

Changeable role attribute #1124

Conversation

mailinhdang
Copy link

Closes #1123.

Copy link
Member

@gabrieljablonski gabrieljablonski left a comment

Choose a reason for hiding this comment

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

Using the generic AriaRole type should cover all other possible cases, not only the dialog alternative.

docs/docs/options.mdx Outdated Show resolved Hide resolved
src/components/Tooltip/TooltipTypes.d.ts Outdated Show resolved Hide resolved
@mailinhdang
Copy link
Author

I committed a change with the generic type AriaRole :)
Was thinking about using it before but thought it would be too generic and open for misuse but it's certainly more flexible.

@danielbarion
Copy link
Member

Looks great!

Thanks for the contribution :)

@gabrieljablonski gabrieljablonski merged commit 708bfa6 into ReactTooltip:master Nov 21, 2023
2 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEAT REQ] Changeable role attribute (v5)
3 participants