Skip to content

Commit 7ec5ec6

Browse files
committed
updated docs
1 parent 4404373 commit 7ec5ec6

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
# reactive-json
22
interactive json viewer wrapped up in a react component
3+
object nodes can be collapsed and expanded.
34

45
## Usage
56
### Implementation Example:
67
![alt text](https://github.com/mac-s-g/reactive-json/blob/master/doc/source-example-2.png?raw=true "Usage Example")
78

89
### Output Example:
9-
![alt text](https://github.com/mac-s-g/reactive-json/blob/master/doc/output-example-2.png?raw=true "Output Example")
10+
![alt text](https://github.com/mac-s-g/reactive-json/blob/master/doc/output-example-3.png?raw=true "Output Example")
1011

1112
## Customizing Style
1213
update or override `src/style/_variables.scss` to apply your own theme.
@@ -51,4 +52,4 @@ case 'string':
5152
* add optional `depth` prop
5253
* consider moving to postcss
5354
* add a few different themes on top of `_variables.scss`
54-
4. add collapsed attributes to objects and support collapse / expand functionality
55+
4. add array component supports collapse and expand

doc/output-example-2.png

-56.6 KB
Binary file not shown.

0 commit comments

Comments
 (0)