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.
d.ts
defaultValue
1 parent dd9850e commit a19059dCopy full SHA for a19059d
index.d.ts
@@ -129,6 +129,12 @@ export interface ReactJsonViewProps {
129
* Default: false
130
*/
131
sortKeys?: boolean;
132
+ /**
133
+ * Set to a value to be used as defaultValue when adding new key to json
134
+ *
135
+ * Default: null
136
+ */
137
+ defaultValue?: string | number | boolean | null | undefined | string[] | number[] | boolean[] | {}[] | {};
138
}
139
140
export interface OnCopyProps {
0 commit comments