Skip to content
This repository was archived by the owner on Mar 11, 2024. It is now read-only.

Commit 42a448e

Browse files
authored
Update README.md
1 parent 22e13fd commit 42a448e

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)