IRCChannelRow
An IRC channel row with a colored prefix character, monospace channel name, and online count.
Import
import { IRCChannelRow } from "@gumtree/ui/forge/IRCChannelRow" ; Props
| Prop | Type | Default | Description |
|---|---|---|---|
name* | string | - | Channel name |
type | "auto" | "custom" | "auto" | Channel type — auto (!) for repo channels, custom (#) for user-created |
onlineCount | number | - | Number of users currently online |
href | string | - | Link to the channel |
Examples
Channel Types
Auto-generated repo channels use '!' prefix, custom channels use '#'.
!necessary/example-app● 4
!.../pr/131● 3
#design● 6
< IRCChannelRow type = "auto" name = "necessary/example-app" onlineCount = { 4 } />
< IRCChannelRow type = "auto" name = ".../pr/131" onlineCount = { 3 } />
< IRCChannelRow type = "custom" name = "design" onlineCount = { 6 } />