interface ChatModalProps

Passed to ChatModal by ChatProvider.

Properties

onClose: () => void

Closes the chat, and drops the ?chat= deep link if there is one.

optional
focusId: string

The message to open on, from a ?chat=<id> deep link. Ignored when it isn't in the first page of history.

Usage

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