You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/** The user can copy objects and arrays to clipboard by clicking on the clipboard icon. @default true */
63
63
enableClipboard?: boolean;
64
-
/** When set to true, all nodes will be collapsed by default. Use an integer value to collapse at a particular depth. @default false */
64
+
/**
65
+
* When set to true, all nodes will be collapsed by default. Use an integer value to collapse at a specific depth. @default false
66
+
* collapsed takes precedence over shouldExpandNodeInitially.
67
+
* @see {@link shouldExpandNodeInitially} for more details on how the initial expansion works.
68
+
*/
65
69
collapsed?: boolean|number;
66
-
/** Determine whether the node should be expanded on the first render, or you can use collapsed to control the level of expansion (by default, the root is expanded). */
70
+
/**
71
+
* Determines whether the node should be expanded on the first render, or you can use collapsed to control the level of expansion (by default, the root is expanded).
72
+
* If both collapsed and shouldExpandNodeInitially are set, the value of collapsed takes precedence.
73
+
* @see {@link collapsed} for more details on how this works.
0 commit comments