Pane
import { ArtifactCard, ChannelHeader, OrgRail, Pane, SystemLine } from '@hanzo/ui/agents'
No examples yet.
Types
export interface ChannelHeaderProps extends Row {name: string/** How many work products this channel has produced. Absent draws no badge —* zero is a fact worth showing, absent is "not counted yet". */artifacts?: numberonArtifacts?: () => void/** Trailing controls. */children?: ReactNode}
export type ArtifactKind = 'canvas' | 'code' | 'view'
export interface ArtifactCardProps extends Row {title: stringkind: ArtifactKindonOpen?: () => void}
export interface SystemLineProps extends Row {/** The whole sentence, already written by the caller — "Zoe was added by* Harry". Composing it here would need a grammar this component cannot have. */children: ReactNodeavatar?: ReactNode}
export interface PaneTab {id: stringlabel: stringkind: ArtifactKindcontent: ReactNode}
export interface PaneProps extends Col {tabs: PaneTab[]active?: stringonActive?: (id: string) => voidonClose?: () => void}
export interface Org {id: stringname: string/** A mark. Falls back to the first letter of `name`. */avatar?: ReactNode}
export interface OrgRailProps extends Col {orgs: Org[]active?: stringonSwitch?: (id: string) => voidonAdd?: () => void}
Exports
ArtifactCardChannelHeaderOrgRailPaneSystemLinetype ArtifactCardPropstype ArtifactKindtype ChannelHeaderPropstype Orgtype OrgRailPropstype PanePropstype PaneTabtype SystemLineProps