QueryBrowser
API reference and demos for QueryBrowser.
Import
Section titled “Import”import { QueryBrowser } from "@flanksource/clicky-ui/data";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 |
|---|---|---|---|
allowEmptyQuery |
boolean |
false |
— |
className |
string |
— | — |
completion |
QueryBrowserCompletion |
— | — |
execute* |
(…) => Promise<QueryBrowserResult> |
— | — |
id* |
string |
— | — |
initialOptions |
Record<string, unknown> |
— | — |
initialQuery |
string |
— | — |
language |
enum |
text |
— |
lookupFilterValues |
QueryBrowserFilterLookup |
— | — |
navigator |
ReactNode |
— | — |
navigatorSplit |
number |
28 |
Initial navigator width as a percentage; the splitter remains draggable. |
onOptionsChange |
(…) => … |
— | — |
onQueryChange |
(…) => … |
— | — |
optionsSchema |
JsonSchemaObject |
— | — |
queryLabel |
string |
Query |
— |
renderResults |
(…) => … |
— | — |
runToken |
number |
— | Change after an explicit navigator Run action to execute the full seeded query once. |
title |
string |
— | — |