Function: CollaborationBadge()
@roomful/cursors / CollaborationBadge
Function: CollaborationBadge()
Section titled “Function: CollaborationBadge()”CollaborationBadge<
TPresence>(props):ReactElement
Defined in: collaboration-badge.ts:19
Renders a compact badge indicating which peer is actively editing.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The peer presence shape.
Parameters
Section titled “Parameters”CollaborationBadgeProps<TPresence>
The peer and optional position override.
Returns
Section titled “Returns”ReactElement
The rendered collaboration badge.