From 867a497d91ae2e67dd3e13011fe41bbe9279a884 Mon Sep 17 00:00:00 2001 From: Ann Balina Date: Fri, 20 Nov 2020 01:51:16 +0200 Subject: [PATCH] Update package info --- packages/react-json-tree/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/react-json-tree/README.md b/packages/react-json-tree/README.md index 28adfac8..75451bd9 100644 --- a/packages/react-json-tree/README.md +++ b/packages/react-json-tree/README.md @@ -146,6 +146,7 @@ Their full signatures are: - `isCustomNode: function(value)` - overrides the default object type detection and renders the value as a single value - `collectionLimit: number` - sets the number of nodes that will be rendered in a collection before rendering them in collapsed ranges - `keyPath: (string | number)[]` - overrides the initial key path for the root node (defaults to `[root]`) +- `onExpand: function(data, level, keyPath)` - on expand callback ### Credits