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.

13 lines 425 B
import { createContext } from "react"; export const RelationsGraphContext = createContext({ openRelationsGraph: () => { throw "RelationsGraphProvider not mounted"; }, openOrAddToRelationsGraph: () => { throw "RelationsGraphProvider not mounted"; }, closeRelationsGraph: () => { throw "RelationsGraphProvider not mounted"; } }); //# sourceMappingURL=RelationsGraphContext.js.map