@kit-data-manager/react-search-component
Version:
All-in-one component for rendering an elastic search UI for searching anything. Built-in support for visualizing related items in a graph and resolving unique identifiers.
12 lines (11 loc) • 528 B
TypeScript
import type { SearchConfig } from "../lib/config/SearchConfig";
import type { PropsWithChildren } from "react";
/**
* Extends the elasticsearch SearchContext with additional functionality. This provider automatically
* detects the SearchContext and uses it. When used outside a SearchContext, this provider silently does nothing.
* @param props
* @constructor
*/
export declare function ReactSearchComponentContextProvider(props: PropsWithChildren & {
config: SearchConfig;
}): import("react/jsx-runtime").JSX.Element;