ChatPinnedBar

Yellow-tinted banner showing a pinned message with a pin icon, author name, and text.

Import

import { ChatPinnedBar } from "@gumtree/ui/chat/ChatPinnedBar";

Props

PropTypeDefaultDescription
authorstring-Name of the author who pinned/wrote the message
childrenComponentChildren-Pinned message text

Examples

Pinned Message

alice: v3.4.0 release freeze starts Monday. All feature PRs should be merged by Friday EOD.
<ChatPinnedBar author="alice">
  v3.4.0 release freeze starts Monday. All feature PRs should be merged by Friday EOD.
</ChatPinnedBar>