Renders the chat button of the header, for signed-in users.

Functions

f
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.

Usage

import * as mod from "src/components/layout/ChatButton.tsx";