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

Interface: SelectionHighlightProps\<TPresence\>

@roomful/cursors


@roomful/cursors / SelectionHighlightProps

Interface: SelectionHighlightProps<TPresence>

Section titled “Interface: SelectionHighlightProps<TPresence>”

Defined in: selection-highlight.types.ts:28

Configures the selection highlight component.

TPresence extends PresenceData = PresenceData

The peer presence shape.

peer: Peer<TPresence>

Defined in: selection-highlight.types.ts:32

Supplies the peer whose selection is being rendered.


selection: SelectionRange | null

Defined in: selection-highlight.types.ts:37

Supplies the active selection to highlight, or null to clear it.