RealTimeTextProps interface
Props for a single line of RealTimeText.
Properties
display |
Display name of the user |
id | RealTimeText id |
is |
Boolean indicating whether the RealTimeText is from the local user |
is |
Boolean indicating whether the RealTimeText is still in progress |
message | RealTimeText content |
on |
Optional callback to override render of the avatar. |
strings | Strings for RealTimeText |
user |
user id of the user |
Property Details
displayName
Display name of the user
displayName: string
Property Value
string
id
RealTimeText id
id: number
Property Value
number
isMe
Boolean indicating whether the RealTimeText is from the local user
isMe?: boolean
Property Value
boolean
isTyping
Boolean indicating whether the RealTimeText is still in progress
isTyping?: boolean
Property Value
boolean
message
RealTimeText content
message: string
Property Value
string
onRenderAvatar
Optional callback to override render of the avatar.
onRenderAvatar?: OnRenderAvatarCallback
Property Value
strings
userId
user id of the user
userId?: string
Property Value
string