function ChatButton
ChatButton(): React.JSX.Element

Renders the button that opens the chat, filled with the accent and dotted while the socket counts unread messages; the count itself is in its label. ChatFab takes over, with the count, once the header scrolls away.

Return Type

React.JSX.Element

Usage

import { ChatButton } from "src/components/layout/ChatButton.tsx";