MCPcopy Create free account
hub / github.com/mac-s-g/react-json-view / constructor

Function constructor

src/js/components/ArrayGroup.js:15–20  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

13
14export default class extends React.PureComponent {
15 constructor(props) {
16 super(props);
17 this.state = {
18 expanded: []
19 };
20 }
21
22 toggleCollapsed = i => {
23 const newExpanded = [];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…