@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.
16 lines (15 loc) • 844 B
TypeScript
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>;
/** @deprecated This property is deprecated and will be removed in the future. Dark mode is automatically enabled when any parent element has the `dark` class. */
dark?: boolean;
nodeTypes?: NodeTypes;
}): import("react/jsx-runtime").JSX.Element;