Function: TypingIndicator()
@roomful/cursors / TypingIndicator
Function: TypingIndicator()
Section titled “Function: TypingIndicator()”TypingIndicator<
TPresence>(props):ReactElement<unknown,string|JSXElementConstructor<any>> |null
Defined in: typing-indicator.ts:16
Renders a typing indicator for the provided peers.
Type Parameters
Section titled “Type Parameters”TPresence
Section titled “TPresence”TPresence extends PresenceData = PresenceData
The peer presence shape.
Parameters
Section titled “Parameters”TypingIndicatorProps<TPresence>
The typing indicator configuration.
Returns
Section titled “Returns”ReactElement<unknown, string | JSXElementConstructor<any>> | null
The rendered typing indicator, or null when nobody is typing.