We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be6871a commit 158f9e7Copy full SHA for 158f9e7
testsite/docs/api/JSONSchemaViewer.mdx
@@ -60,6 +60,16 @@ type JSVOptions = {
60
* @default undefined
61
*/
62
UnresolvedRefsComponent?: (params: { schema: JSONSchema }) => JSX.Element
63
+ /**
64
+ * Defines how deep the schema should be expanded by default
65
+ * Examples:
66
+ * - 0: only the root level is expanded
67
+ * - 1: root level and its direct children are expanded
68
+ * - Infinity: expand all levels
69
+ * @default 0
70
+ * @min 0
71
+ */
72
+ defaultExpandDepth?: number
73
}
74
```
75
0 commit comments