Skip to content
Roomful is in public beta — install with the @beta tag. Share feedback →

Function: SelectionHighlight()

@roomful/cursors


@roomful/cursors / SelectionHighlight

SelectionHighlight<TPresence>(props): null

Defined in: selection-highlight.ts:48

Renders a live text selection highlight for a peer.

TPresence extends PresenceData = PresenceData

The peer presence shape.

SelectionHighlightProps<TPresence>

The peer and selection to highlight.

null

null; the component renders through DOM side effects.