Skip to content

Commit 4524072

Browse files
committed
Merge branch 'master' of github.com:mac-s-g/react-json-view
2 parents 370eb83 + 42a448e commit 4524072

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,13 @@ This component provides a responsive interface for displaying arrays or JSON in
1111
* [Installation instructions](#intallation-instructions) are listed below.
1212

1313
### Implementation Example:
14-
![alt text](https://github.com/mac-s-g/react-json-view/blob/master/doc/source-example-9.png?raw=true "Usage Example")
14+
```
15+
// import the react-json-view component
16+
import ReactJson from 'react-json-view'
17+
18+
// use the component in your app!
19+
<ReactJson src={my_json_object} />
20+
```
1521

1622
### Example Component Display:
1723
![alt text](https://github.com/mac-s-g/react-json-view/blob/master/doc/output-example-10.png?raw=true "Output Example")

0 commit comments

Comments
 (0)