Components
TooltipAnchor
Code

TooltipAnchor

The anchor of the Tooltip

<TooltipProvider>
  <TooltipAnchor asChild>
    <button>i</button>
  </TooltipAnchor>
</TooltipProvider>

Parameters

props

  • Type: @vtex/shoreline-components.TooltipAnchorProps & @types/react.React.RefAttributes<typescript.HTMLDivElement>

Props

asChild (optional)

  • Type: boolean

View source (opens in a new tab)