Components
API Reference

API Reference

Tooltip component

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

Parameters

props

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

Props

label

Text displayed on the popover

  • Type: @types/react.React.ReactNode

View source (opens in a new tab)