UNPKG

use-neo4j

Version:

<div style="text-align:center"> <h1>React Hooks For Neo4j</h1>

23 lines (22 loc) 757 B
import React from 'react'; import { Driver } from 'neo4j-driver'; import { Neo4jScheme } from './neo4j-config.interface'; interface Neo4jProviderProps { children: React.ReactNode | React.ReactNode[] | null; driver?: Driver; scheme?: Neo4jScheme; host?: string; port?: string | number; username?: string; password?: string; database?: string; showHost?: boolean; showDatabase?: boolean; showActive?: boolean; title?: React.ReactNode | React.ReactNode[] | null; logo?: React.ReactNode | React.ReactNode[] | null; details?: React.ReactNode | React.ReactNode[] | null; footer?: React.ReactNode | React.ReactNode[] | null; } export declare const Neo4jProvider: React.FC<Neo4jProviderProps>; export {};