function ChatModal
ChatModal(unnamed 0: ChatModalProps): React.JSX.Element

Renders the chat, opening on focusId's message, or on the "new" divider, when it is more than a screen above the bottom, else at the bottom. Reaching the bottom of a visible tab moves the read marker. The draft and its reply target survive closing and reloading (utils/chat/draft.ts). While it is open in a visible tab, the server sends the user no notification for the mentions they see live.

Parameters

unnamed 0: ChatModalProps

Return Type

React.JSX.Element

Usage

import { ChatModal } from "src/components/chat/ChatModal.tsx";