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

Function getExpandedIcon

src/js/components/ArrayGroup.js:33–41  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

31 };
32
33 getExpandedIcon(i) {
34 const { theme, iconStyle } = this.props;
35
36 if (this.state.expanded[i]) {
37 return <ExpandedIcon {...{ theme, iconStyle }} />;
38 }
39
40 return <CollapsedIcon {...{ theme, iconStyle }} />;
41 }
42
43 render() {
44 const {

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…