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
| Prop | Type | Default | Description |
|---|---|---|---|
author | string | - | Name of the author who pinned/wrote the message |
children | ComponentChildren | - | 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 >