We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
props.defaultInspectDepth
1 parent 3af9c15 commit 0b04cd7Copy full SHA for 0b04cd7
src/stores/JsonViewerStore.ts
@@ -49,10 +49,10 @@ export const createJsonViewerStore = <T = unknown>(props: JsonViewerProps<T>) =>
49
onChange: props.onChange ?? (() => {}),
50
keyRenderer: props.keyRenderer ?? DefaultKeyRenderer,
51
editable: props.editable ?? true,
52
+ defaultInspectDepth: props.defaultInspectDepth ?? 5,
53
// internal state
54
inspectCache: {},
55
hoverPath: null,
- defaultInspectDepth: 5,
56
colorspace: lightColorspace,
57
value: props.value
58
},
0 commit comments