PromptList
Each prompt’s state, title, kind and answer summary — the list PromptBanner and PromptIndicator share.
Import
Section titled “Import”import { PromptList } from "@flanksource/clicky-ui/data";No dedicated Storybook demo is available for this component yet.
The props table documents the component-specific surface. Standard DOM attributes inherited from React, such as className, event handlers, and accessibility attributes, may also be accepted when the component’s prop type extends a native element.
| Prop | Type | Default | Description |
|---|---|---|---|
activeId |
string |
— | Highlights the prompt currently being answered. |
className |
string |
— | — |
onSelect |
(…) => … |
— | Makes each pending prompt a button that answers it; answered and closed prompts stay read-only. |
prompts* |
readonly PromptSnapshot[] |
— | Rendered in the given order; `orderPrompts` puts pending first. |