@mocanvas/mocanvas · function

UiTooltip

declare function UiTooltip(): react.JSX.Element | null

The single tooltip for the whole UI. Mount it once; it labels any element carrying data-tooltip (and, optionally, data-shortcut) by delegation, so buttons stay plain buttons.

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.