UNPKG

@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.

15 lines (14 loc) 677 B
import { ComponentType } from "react"; import { ResultViewProps } from "@elastic/react-search-ui-views"; import { GraphNode } from "../../components/graph/GraphNode"; import { RelationsGraphOptions } from "../../components/graph/RelationsGraphOptions"; import { NodeTypes } from "@xyflow/react"; export declare function RelationsGraphModal({ isOpen, onOpenChange, nodes, resultView, options, dark, nodeTypes }: { isOpen: boolean; onOpenChange: (val: boolean) => void; nodes: GraphNode[]; options?: RelationsGraphOptions; resultView: ComponentType<ResultViewProps>; dark?: boolean; nodeTypes?: NodeTypes; }): import("react/jsx-runtime").JSX.Element;