PromptPickerField
API reference and demos for PromptPickerField.
Import
Section titled “Import”import { PromptPickerField } 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 |
|---|---|---|---|
className |
string |
— | — |
description |
string |
— | — |
disabled |
boolean |
— | — |
families |
SpecRuntimeFamily[] |
— | — |
loadDetail* |
(…) => Promise<PromptSpecDetail> |
— | — |
models |
ChatModel[] |
— | — |
onChange* |
(…) => void |
— | — |
saveDetail* |
(…) => Promise<PromptSpecDetail> |
— | — |
sections |
readonly SpecSectionId[] |
— | — |
sources |
readonly [PromptSource, ...PromptSource[]] |
[ "inline", "file", ] |
— |
title* |
string |
— | — |
value |
PromptPickerValue |
— | — |