@mocanvas/mocanvas · function

TldrawUiTooltip

declare function TldrawUiTooltip({ content, kbd, disabled, children }: TldrawUiTooltipProps): react.JSX.Element

Attaches a tooltip to its child.

Renders a wrapper carrying the data-tooltip attributes the shared layer looks for, so the child stays exactly the element the caller wrote.

mocanvas is built by Symbio. Free for non-commercial, non-profit and development use; commercial use needs an agreement. Not affiliated with or endorsed by tldraw.