@@ -99,9 +99,9 @@ Here is a screenshot of the result:
99
99
100
100
### data
101
101
102
- | Key | Description | Type | Required | Default |
103
- | :--: | :-------------------------: | :-------------------: | :------: | :-----: |
104
- | data | Data to be displayed/edited | ` Object | Array ` | True | None |
102
+ | Key | Description | Type | Required | Default |
103
+ | :--: | :-------------------------: | :------------------------------ : | :------: | :-----: |
104
+ | data | Data to be displayed/edited | < code > Object | ; Array</ code > | True | None |
105
105
106
106
### rootName
107
107
@@ -131,9 +131,9 @@ Function parameters:
131
131
132
132
Function parameters:
133
133
134
- | Key | Description | Type |
135
- | :--: | :----------: | :--------------------------------------------------: |
136
- | data | Updated data | ` Object | Array ` (same type as the ` data ` prop) |
134
+ | Key | Description | Type |
135
+ | :--: | :----------: | :------------------------------------------------------------- : |
136
+ | data | Updated data | < code > Object | ; Array</ code > (same type as the ` data ` prop) |
137
137
138
138
### onDeltaUpdate
139
139
@@ -160,9 +160,9 @@ Delta data structure:
160
160
161
161
### readOnly
162
162
163
- | Key | Description | Type | Required | Default |
164
- | :------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-----------------------: | :------: | :-------------------------------------------------: |
165
- | readOnly | If a boolean, whether the entire structure should be read-only. If a function, whether the node/value supplied to the function should be read-only (called for all nodes/values). | ` boolean | Function ` | False | ` (keyName, data, keyPath, deep, dataType) => false ` |
163
+ | Key | Description | Type | Required | Default |
164
+ | :------: | :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :---------------------------------- : | :------: | :-------------------------------------------------: |
165
+ | readOnly | If a boolean, whether the entire structure should be read-only. If a function, whether the node/value supplied to the function should be read-only (called for all nodes/values). | < code > boolean | ; Function</ code > | False | ` (keyName, data, keyPath, deep, dataType) => false ` |
166
166
167
167
This function must return a boolean.
168
168
@@ -246,9 +246,9 @@ The library will add an `onClick` handler to the element.
246
246
247
247
### inputElement
248
248
249
- | Key | Description | Type | Required | Default |
250
- | :----------: | :-----------------------------------------: | :---------------------------: | :------: | :------------------------------------------------------------: |
251
- | inputElement | Custom text input element (to edit a value) | ` JSX.Element | Function ` | False | ` (usage, keyPath, deep, keyName, data, dataType) => <input /> ` |
249
+ | Key | Description | Type | Required | Default |
250
+ | :----------: | :-----------------------------------------: | :-------------------------------------- : | :------: | :------------------------------------------------------------: |
251
+ | inputElement | Custom text input element (to edit a value) | < code > JSX.Element | ; Function</ code > | False | ` (usage, keyPath, deep, keyName, data, dataType) => <input /> ` |
252
252
253
253
The library will add a ` placeholder ` , ` ref ` , and ` defaultValue ` prop to the
254
254
element. This element will be focused when possible.
@@ -266,9 +266,9 @@ Function parameters:
266
266
267
267
### textareaElement
268
268
269
- | Key | Description | Type | Required | Default |
270
- | :-------------: | :------------------------------------------------------------: | :---------------------------: | :------: | :---------------------------------------------------------------: |
271
- | textareaElement | Custom textarea element (to edit a long value, like functions) | ` JSX.Element | Function ` | False | ` (usage, keyPath, deep, keyName, data, dataType) => <textarea /> ` |
269
+ | Key | Description | Type | Required | Default |
270
+ | :-------------: | :------------------------------------------------------------: | :-------------------------------------- : | :------: | :---------------------------------------------------------------: |
271
+ | textareaElement | Custom textarea element (to edit a long value, like functions) | < code > JSX.Element | ; Function</ code > | False | ` (usage, keyPath, deep, keyName, data, dataType) => <textarea /> ` |
272
272
273
273
The library will add a ` ref ` and ` defaultValue ` prop to the element. This
274
274
element will be focused when possible.
0 commit comments