Skip to content

NamespacePicker

API reference and demos for NamespacePicker.

Source

import { NamespacePicker } from "@flanksource/clicky-ui/components";
Default · Open in Storybook
Preselected · Open in Storybook
Loading · 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 — —
loadNamespaces* (…) => Promise<string[]> — Async getter the component calls once to load namespace names.
onChange* (…) => void — —
placeholder string Select namespace… —
strict boolean false When true, a non-empty value absent from the loaded set (once loading settles) is flagged invalid. The value is still shown; freeform entry is marked, not rejected.
value* string — Controlled selected namespace (or "" when cleared).