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: Tooltip for Buttons #481
feat: Tooltip for Buttons #481
Conversation
52b34f8
to
e2150d1
Compare
👋 Hello @mitrotasios! Can you review this PR, please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job! Would it be possible to add a small delay to the tooltip (e.g. 150-300ms)? I think this is better for tooltips on buttons. :)
we will work on it and get back to you soon. |
Hello @mitrotasios |
0cdfe1e
to
7c19d9e
Compare
Co-authored-by: Rafael Toledo <87545086+Toledodev@users.noreply.github.com> Co-authored-by: Nitesh Singh <nitesh.singh@gitstart.dev> Co-authored-by: Rubens Rafael <70234898+RubensRafael@users.noreply.github.com>
7c19d9e
to
7522196
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
🎉 This PR is included in version 3.1.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Seems like there's no straightforward way to style the tooltip |
Fixes: #471
What: Add the possibility to use tooltips on button component
Why: To be able to use tooltips in this component
How: The changes was implemented following the components
src/components/icon-elements/Icon/Icon.tsx
andsrc/components/icon-elements/Badge/Badge.tsx
, they already have a tooltip componentTesting
run:
Demo
Loom Video: https://www.loom.com/share/5181bda86a65435b8f6298ba92dfb493
This code was written and reviewed by GitStart Community. Growing great engineers, one PR at a time.