mirror of
https://github.com/reduxjs/redux-devtools.git
synced 2025-07-22 14:09:46 +03:00
add isExpanded as argument to getItemString method
This commit is contained in:
parent
63b691a264
commit
becb83393f
|
@ -176,7 +176,8 @@ export default function JSONNestedNode(props: Props) {
|
|||
data,
|
||||
itemType,
|
||||
createItemString(data, collectionLimit),
|
||||
keyPath
|
||||
keyPath,
|
||||
expandedRef.current,
|
||||
);
|
||||
const stylingArgs = [
|
||||
keyPath,
|
||||
|
|
|
@ -10,7 +10,8 @@ export type GetItemString = (
|
|||
data: unknown,
|
||||
itemType: React.ReactNode,
|
||||
itemString: string,
|
||||
keyPath: KeyPath
|
||||
keyPath: KeyPath,
|
||||
isExpanded: boolean,
|
||||
) => React.ReactNode;
|
||||
|
||||
export type LabelRenderer = (
|
||||
|
|
Loading…
Reference in New Issue
Block a user