@neo4j-nvl/react 0.2.24 → 0.2.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -23,9 +23,7 @@ export interface BasicReactWrapperProps {
|
|
|
23
23
|
/** A callback to handle any errors that happen during NVL initialization */
|
|
24
24
|
onInitializationError?: (error: unknown) => void;
|
|
25
25
|
/** Any events that should be passed to the NVL instance */
|
|
26
|
-
nvlEvents?:
|
|
27
|
-
[key: string]: (event: unknown) => void;
|
|
28
|
-
};
|
|
26
|
+
nvlEvents?: Record<string, (event: unknown) => void>;
|
|
29
27
|
}
|
|
30
28
|
/**
|
|
31
29
|
* A basic React wrapper for the {@link NVL} class.
|