Screens (56)
Inbox
Full-page workspace layout and interactive application screen.
Loading Inbox…
Usage
import { InboxScreen } from "ui-kit/screens/inbox";Props
| Prop | Type | Default | Description |
|---|---|---|---|
workspace | string | "Fieldwork" | — |
items | InboxItem[] | sampleItems | — |
running | number | 3 | — |
defaultTab | InboxTab | "open" | — |
defaultSelected | string | — | — |
onDecide | (id: string, answer: InboxAnswer) => void | — | — |
onLater | (id: string) => void | — | — |
onReopen | (id: string) => void | — | — |
onSelect | (id: string | null) => void | — | — |
tasks | Record<string, InboxTaskInfo> | sampleTasks | — |
artifacts | Record<string, InboxArtifact> | sampleArtifacts | — |
defaultOpenArtifacts | { task: string; name: string }[] | sampleOpen | — |
onOpenArtifact | (task: string, name: string) => void | — | — |
onArtifactChange | (name: string, artifact: InboxArtifact) => void | — | — |
suggested | WorkspaceSource[] | — | — |
labels | InboxLabels | — | — |
loading | boolean | — | — |
empty | boolean | — | — |