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

Function: TypingIndicator()

@roomful/cursors


@roomful/cursors / TypingIndicator

TypingIndicator<TPresence>(props): ReactElement<unknown, string | JSXElementConstructor<any>> | null

Defined in: typing-indicator.ts:16

Renders a typing indicator for the provided peers.

TPresence extends PresenceData = PresenceData

The peer presence shape.

TypingIndicatorProps<TPresence>

The typing indicator configuration.

ReactElement<unknown, string | JSXElementConstructor<any>> | null

The rendered typing indicator, or null when nobody is typing.