Skip to content

ToolPreferencesMenu

API reference and demos for ToolPreferencesMenu.

Source

import { ToolPreferencesMenu } from "@flanksource/clicky-ui/ai";
Dropdown · Open in Storybook
Advanced Config · Open in Storybook
Advanced Permissions · 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
className string — —
onAdvanced (…) => … — Shows the Advanced action; omitted, the menu has no Advanced entry.
onRule* (…) => void — —
tools* ToolMeta[] — —
value* Record<string, ToolPolicy> — —