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

Function constructor

src/components/Button/index.js:11–19  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

9
10class Button extends React.Component {
11 constructor(props) {
12 super(props);
13
14 this.state = {
15 confirming: false,
16 };
17
18 this.timeout = null;
19 }
20
21 componentWillUnmount() {
22 if (this.timeout) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected