Builtin component
Query editor with explorer sidebar.
| Prop | Type | Default | Description |
|---|---|---|---|
language | string | — | Syntax language |
value | string | — | Initial query text |
action | AnyActionDefinition | string | — | Action to execute the query |
explorer | { source, nameField?, children? } | — | Tree explorer sidebar |
QueryEditor({
language: "sql",
value: "SELECT 1",
action: executeQuery(),
explorer: { source: tree(), nameField: "name" },
})