searchable-react-json-view
Advanced tools
Comparing version 0.0.3 to 0.0.4
{ | ||
"name": "searchable-react-json-view", | ||
"description": "Interactive react component for displaying javascript arrays and JSON objects.", | ||
"version": "0.0.3", | ||
"version": "0.0.4", | ||
"main": "dist/main.js", | ||
@@ -6,0 +6,0 @@ "dependencies": { |
@@ -9,2 +9,14 @@ # searchable-react-json-view | ||
yarn add searchable-react-json-view | ||
``` | ||
``` | ||
### New Props | ||
Name|Type|Default|Description | ||
|:---|:---|:---|:--- | ||
`highlightSearch`|`string`|None|What term to highlight - applies to number, string, boolean and object keys. | ||
`highlightSearchColor`|`string`| <img src="https://user-images.githubusercontent.com/16322616/89119023-9018cb80-d4b3-11ea-8fca-8b068ce8ef71.png"/>|Highlight color | ||
`highlightCurrentSearchColor`|`string`| <img src="https://user-images.githubusercontent.com/16322616/89119031-ac1c6d00-d4b3-11ea-9640-e5320904fdd3.png"/> | Current highlight color | ||
### Example | ||
<kbd><img src="https://user-images.githubusercontent.com/16322616/89118875-1d5b2080-d4b2-11ea-81fe-514d019cb26b.png" width="450" /></kbd> |
Sorry, the diff of this file is too big to display
169076
21