-
-
Notifications
You must be signed in to change notification settings - Fork 367
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
chore: Add tooltip-placement
example
#960
Conversation
This pull request is being automatically deployed with Vercel (learn more). ariakit – ./🔍 Inspect: https://vercel.com/ariakit/ariakit/BCq9EjFnoDcbgg4iFKuond4CQ2ja reakit – ./🔍 Inspect: https://vercel.com/ariakit/reakit/8twmRb2nsc673qSCUCrHsQ2vMmVU [Deployment for dd40562 canceled] |
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
import "./style.css"; | ||
|
||
export default function Example() { | ||
const tooltip = useTooltipState({ placement: "bottom-end" }); |
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.
@diegohaz , let me know if I should add any other placement examples like top
, right
, etc.. or only one example is enough ?
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.
One example is fine I guess. :)
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.
made the changes
Codecov Report
@@ Coverage Diff @@
## v2 #960 +/- ##
==========================================
+ Coverage 42.33% 42.37% +0.04%
==========================================
Files 154 155 +1
Lines 4110 4113 +3
Branches 1160 1160
==========================================
+ Hits 1740 1743 +3
Misses 2369 2369
Partials 1 1
Continue to review full report at Codecov.
|
I think we should rename it to just |
yeah, this makes sense to me |
tooltip-with-placement
exampletooltip-placement
example
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.
Awesome! Thank you! ❤️
No description provided.