Components
Tooltip
Code

Tooltip

Tooltip component

<Tooltip text="Text">
  <button>i</button>
</Tooltip>

Parameters

props

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

Props

text

Text displayed on the popover

  • Type: @types/react.React.ReactNode

View source (opens in a new tab)