API reference: @salmonui/chat/conversation
ConversationUserinterface
import type { ConversationUser } from '@salmonui/chat/conversation';interface ConversationUser {
readonly id: string;
readonly name: string;
readonly avatar?: string | ReactNode;
readonly status?: ReactNode;
}
| Name | Signature | Description |
|---|---|---|
id | readonly id: string; | |
name | readonly name: string; | |
avataroptional | readonly avatar?: string | ReactNode; | Image URL or a node; initials of |
statusoptional | readonly status?: ReactNode; | Presence indicator next to the avatar. |