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
Copy file name to clipboardExpand all lines: README.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -14,7 +14,7 @@ At the same time, there are a number of tools that automatically generate schema
14
14
15
15
## Demo
16
16
17
-
Have a look at the [![Storybook][storybook-image]][storybook-url]
17
+
Have a look at the [Storybook][storybook-url]
18
18
19
19
Or try it out and [![Edit on CodeSandbox][codesandbox-image]][codesandbox-url]
20
20
@@ -57,6 +57,7 @@ npm i react-jsonschema-inspector
57
57
|`searchOptions.debounceWait`| Number indicating the delay in milliseconds between the last change to the search term being entered and it actually being applied. This defaults to `200` but may be increased when used with exceptionally large schemas and you experience performance issues. Please refer to the documentation on [`lodash.debounce`](https://lodash.com/docs/4.17.11#debounce). |
58
58
|`searchOptions.debounceMaxWait`| Number indicating the maximum delay in milliseconds after the search term was changed. This defaults to `500`. Please refer to the documentation on [`lodash.debounce`](https://lodash.com/docs/4.17.11#debounce). |
59
59
|`renderHeaderToolBar`| Function: custom render function for additional header tool-bar besides search input. Receives one parameter: object with a: "columnData" property |
60
+
|`renderSearchInput`| Function: custom render function for the search input. Receives one parameter: object with the following properties: "searchFilter", "placeholder", "onChange" |
60
61
|`renderItemContent`| Function: custom render function for name of single property/sub-schema in a column. Receives one parameter: object with the following properties: "name", "hasNestedItems", "selected", "schemaGroup" |
61
62
|`renderSelectionDetails`| Function: custom render function for the "Details" block on the right for the single property/sub-schema being selected. Receives one parameter: object with the following properties: "itemSchemaGroup", "columnData", "selectionColumnIndex", "optionIndexes" |
62
63
| `renderEmptyDetails` | Function: custom render function for the "Details" block on the right if nothing is selected yet. Receives one parameter, which is an object with the "rootColumnSchemas" property, which holds the array of top-level schemas (as derived from the `schemas` prop and augmented by any given `referenceSchemas`)
@@ -157,7 +158,6 @@ Please refer to the more detailed listing below regarding particular keywords.
0 commit comments