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 0624012 commit 56dad8eCopy full SHA for 56dad8e
core/README.md
@@ -396,6 +396,8 @@ export interface JsonViewProps<T> extends React.DetailedHTMLProps<React.HTMLAttr
396
enableClipboard?: boolean;
397
/** Display for quotes in object-key @default " */
398
quotes?: "'" | '"' | '';
399
+ /** When set to true, all nodes will be collapsed by default. Use an integer value to collapse at a particular depth. @default false */
400
+ collapsed?: boolean | number;
401
/** Callback function for when a treeNode is expanded or collapsed */
402
onExpand?: (props: {
403
expand: boolean;
0 commit comments