ToolPreferencesMenu
API reference and demos for ToolPreferencesMenu.
Import
Section titled “Import”import { ToolPreferencesMenu } from "@flanksource/clicky-ui/ai";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 |
— | — |
onAdvanced |
(…) => … |
— | Shows the Advanced action; omitted, the menu has no Advanced entry. |
onRule* |
(…) => void |
— | — |
tools* |
ToolMeta[] |
— | — |
value* |
Record<string, ToolPolicy> |
— | — |