MCPcopy Create free account
hub / github.com/flyfloor/react-component / constructor

Method constructor

demo/example/ProgressDemo.jsx:5–10  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

3
4export default class ProgressDemo extends Component {
5 constructor(props){
6 super(props);
7 this.state = {
8 value: 30,
9 };
10 }
11
12 handleMinus(){
13 let {value} = this.state;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected