mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-26 07:59:48 +03:00
Add onExpand to types
This commit is contained in:
parent
867a497d91
commit
045c1579cc
|
@ -9,6 +9,7 @@ interface SharedCircularPropsPassedThroughJSONTree {
|
|||
expanded: boolean,
|
||||
expandable: boolean
|
||||
) => React.ReactNode;
|
||||
onExpand?: (data: any, level: number, keyPath: any[]) => void;
|
||||
}
|
||||
interface SharedCircularPropsProvidedByJSONTree
|
||||
extends SharedCircularPropsPassedThroughJSONTree {
|
||||
|
@ -41,6 +42,7 @@ interface JSONNestedNodeCircularPropsPassedThroughJSONTree {
|
|||
isCustomNode: (value: any) => boolean;
|
||||
collectionLimit: number;
|
||||
sortObjectKeys?: ((a: any, b: any) => number) | boolean;
|
||||
onExpand?: (data: any, level: number, keyPath: any[]) => void;
|
||||
}
|
||||
export type CircularPropsPassedThroughJSONTree = SharedCircularPropsPassedThroughJSONTree &
|
||||
JSONValueNodeCircularPropsPassedThroughJSONTree &
|
||||
|
|
Loading…
Reference in New Issue
Block a user