Skip to content

PromptBanner

API reference and demos for PromptBanner.

Source

import { PromptBanner } from "@flanksource/clicky-ui/data";
Default · Open in Storybook
Inline Select Approval · Open in Storybook
Summary History · Open in Storybook

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
basePath string /api/todos Base path the prompt API is mounted under, e.g. "/api/todos".
className string — —
enabled boolean — —
historyLimit number 5 Maximum recent prompts shown in the summary list.
inlineActions false | "auto" auto Render approve/reject quick actions when the prompt schema supports them.
kind string — —
labels Record<string, string> — —
owner string — —
showSummary boolean true Show compact counts and recent prompt outcomes, not only the current pending prompt.
state string — —
title string — Override the headline; defaults to a count-aware message.