Skip to content

CacheTree

Lazy key tree over the cache-browser tree endpoint, with a server-side substring search that swaps the tree for a flat result list while active. (The tree’s own toolbar filter still narrows already-loaded nodes.)

Source

import { CacheTree } from "@flanksource/clicky-ui/data";
Default · 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 — —
client* CacheClient — —
onSelect* (…) => void — —
registry* CacheAdapterRegistry — —
rootPrefix string — Logical prefix the tree is rooted at; empty browses the whole keyspace.
selected* CacheTreeNode | null — —