Tooltip: Add additional documentation around component triggers
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.