@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.
10 lines (9 loc) • 469 B
TypeScript
import { ResultViewProps } from "@elastic/react-search-ui-views";
import { ComponentType } from "react";
interface ResultViewSelectorProps {
resultView?: ComponentType<ResultViewProps>;
resultViewPerIndex?: Record<string, ComponentType<ResultViewProps>>;
resultProps: ResultViewProps;
}
export declare function ResultViewSelector({ resultProps, resultView, resultViewPerIndex }: ResultViewSelectorProps): import("react/jsx-runtime").JSX.Element;
export {};