-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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(frontend): Add ThoughtsButton component for displaying thoughts #2624
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<button | ||
onMouseEnter={() => setIsHovered(true)} | ||
onMouseLeave={() => setIsHovered(false)} | ||
> | ||
<Icon name="question" size={size} color={isHovered ? "primary" : "black"} /> | ||
</button> |
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.
tu peux remplacer button par div ici :)
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.
et pour Icon, tu peux mettre plutot color="black" et handlHover={true} comme ca tu te fais pas chier avec le isHovered setIsHovered
|
🤖 I have created a release *beep* *boop* --- ## 0.0.257 (2024-05-28) ## What's Changed * Add Privacy & Compliance Documentation by @StanGirard in #2620 * docs(security): added compliance by @StanGirard in #2621 * fix(frontend): upgrade button on user page by @Zewed in #2623 * feat(frontend): Add ThoughtsButton component for displaying thoughts by @StanGirard in #2624 **Full Changelog**: v0.0.256...v0.0.257 --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
This pull request adds a new component called ThoughtsButton for displaying thoughts in the chat messages. The ThoughtsButton component is used to show a tooltip with the thoughts text when the user hovers over the button.