PromptIndicator
API reference and demos for PromptIndicator.
Import
Section titled “Import”import { PromptIndicator } from "@flanksource/clicky-ui/data";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 |
|---|---|---|---|
autoOpen |
boolean |
false |
Open each prompt's answer dialog once, as soon as it becomes pending: closing it without answering leaves it pending in the panel rather than reopening it. |
basePath |
string |
/api/todos |
Base path the prompt API is mounted under, e.g. "/api/todos". |
className |
string |
— | Classes for the trigger button. |
enabled |
boolean |
— | — |
kind |
string |
— | — |
labels |
Record<string, string> |
— | — |
lookupFetcher |
LookupFetcher |
— | Passed to the answer dialog to resolve the schema's `x-clicky-lookup` fields. |
owner |
string |
— | — |
state |
string |
— | — |