Skip to content

Commit bf983e1

Browse files
committed
updated docs
1 parent 063a8a7 commit bf983e1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

doc/output-example-2.png

56.6 KB
Loading

doc/output-example-v1.png

-41.5 KB
Binary file not shown.

src/js/components/JsonViewer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ export default class extends React.Component {
99
}
1010

1111
render = () => {
12-
const {src} = this.props;
12+
const {props} = this;
1313
return (
1414
<div class="pretty-json-container">
15-
<JsonObject depth={0} data={src}></JsonObject>
15+
<JsonObject {...props}></JsonObject>
1616
</div>
1717
);
1818
}

0 commit comments

Comments
 (0)