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

Advanced Tooltip component #2098

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Advanced Tooltip component #2098

wants to merge 1 commit into from

Conversation

khadni
Copy link
Collaborator

@khadni khadni commented Sep 30, 2024

  • Supports HTML elements such as code and a within the tooltip content
  • Users can interact with the content inside the tooltip—clicking links to navigate to other pages or copying code snippets for use elsewhere

Example use:

import { AdvancedTooltip } from "@features/common/Tooltip/AdvancedTooltip"

<AdvancedTooltip label="test" style={{ marginTop: "0" }} client:load>
   Abcde <code>true</code>; otherwise, xyz, see <a href="/ccip/best-practices">CCIP best practices</a>.
</AdvancedTooltip>

Copy link

vercel bot commented Sep 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview Sep 30, 2024 8:17pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant