Skip to content

Tooltip: Add additional documentation around component triggers

Administrator requested to merge tr/tooltip-docs into main

Created by: umpox

Description

Make it clearer that children (the tooltip trigger) must use forwardRef.

As part of https://github.com/sourcegraph/sourcegraph/issues/32362, we should look at ensuring that tooltip triggers are a restricted set of interactive elements that we can use to reduce any accidental incorrect usage

Test plan

N/A - Docs only change

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading