InboxViews
InboxViews — the views rail of a 3-pane inbox: "Mine", "Unassigned", "All open", "Waiting", "Solved", saved views. Each with a count and an icon; the active one is marked `aria-current`. Plain props: the app fills it from its own data, and counts can change live. The default for `InboxLayout`'s `views` pane; an app can put anything there.
packages/ui/src/components/patterns/messaging/inbox-views.tsx
Import
Subpath export:
@marktiderman/genesis-ui/patternsimport { InboxViews } from "@marktiderman/genesis-ui/patterns";Components
Auto-generated from TypeScript source via
react-docgen-typescript.InboxViews
| Prop | Type | Default | Description |
|---|---|---|---|
| onSelect* | (id: string) => void | — | |
| views* | readonly InboxView[] | — | |
| activeId | string | null | — | |
| className | string | — | |
| sections | readonly { title: string; ids: readonly string[]; }[] | — | Group headings over the views ("Views", "Saved"). |
| testID | string | inbox-views |