Skip to content

SpecEditorDialog

API reference and demos for SpecEditorDialog.

Source

import { SpecEditorDialog } from "@flanksource/clicky-ui/ai";

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
detail* ValidPromptSpecDetail — —
families SpecRuntimeFamily[] — —
models ChatModel[] — —
onClose* (…) => void — —
onSaved* (…) => void — —
open* boolean — —
saveDetail* (…) => Promise<PromptSpecDetail> — —
sections readonly SpecSectionId[] [ "model", "prompt", "workspace", "permissions", "environment", "cli", ] —
sources readonly [PromptSource, ...PromptSource[]] [ "inline", "file", ] —
title* string — —