Components
TooltipTrigger

TooltipTrigger

The anchor of the Tooltip

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

Optional props

asChild

Children composition

type
boolean
default
false