BotEvent
System/bot event bar with a colored left border โ push, CI, PR, or release events.
Import
import { BotEvent } from "@gumtree/ui/chat/BotEvent" ; Props
| Prop | Type | Default | Description |
|---|---|---|---|
variant | "push" | "ci" | "pr" | "release" | "push" | Event type (determines left border color) |
children | ComponentChildren | - | Event content (supports bold, links) |
Examples
All Variants
Push (blue), CI (green), PR (purple), Release (yellow).
gumtree ยท ๐ brendan pushed to
fix/locale-fallback โ 4 filescicada ยท โ CI #313 passed โ 11/11 green (5m 22s)
gumtree ยท ๐ PR #131 opened: Fix locale fallback
gumtree ยท ๐ท๏ธ v3.3.2 released โ 3 contributors, 12 commits
< BotEvent variant = "push" >
< strong > gumtree </ strong > ยท ๐ < a href = "#" > brendan </ a > pushed to < code > fix/locale-fallback </ code > โ 4 files
</ BotEvent >
< BotEvent variant = "ci" >
< strong > cicada </ strong > ยท โ CI #313 passed โ 11/11 green (5m 22s)
</ BotEvent >
< BotEvent variant = "pr" >
< strong > gumtree </ strong > ยท ๐ < a href = "#" > PR #131 </ a > opened: Fix locale fallback
</ BotEvent >
< BotEvent variant = "release" >
< strong > gumtree </ strong > ยท ๐ท๏ธ v3.3.2 released โ < a href = "#" > 3 contributors, 12 commits </ a >
</ BotEvent >