Components
TooltipTrigger
API Reference

API Reference

The anchor of the Tooltip

<TooltipProvider>
  <TooltipTrigger asChild>
    <button>i</button>
  </TooltipTrigger>
</TooltipProvider>

Parameters

props

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

Props

asChild (optional)

  • Type: boolean

View source (opens in a new tab)