MCPcopy Create free account
hub / github.com/algorithm-visualizer/algorithm-visualizer / constructor

Function constructor

src/components/Navigator/index.js:14–22  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

12
13class Navigator extends React.Component {
14 constructor(props) {
15 super(props);
16
17 this.state = {
18 categoriesOpened: {},
19 scratchPaperOpened: true,
20 query: '',
21 };
22 }
23
24 componentDidMount() {
25 const { algorithm } = this.props.current;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected