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

Method constructor

demo/example/CheckBoxGroupDemo.jsx:15–21  ·  view source on GitHub ↗
(props, refs)

Source from the content-addressed store, hash-verified

13
14export default class CheckBoxGroupDemo extends React.Component {
15 constructor(props, refs){
16 super(props);
17 this.state = {
18 displayText: checkedVal.join(','),
19 displayText1: checkedVal1.join(','),
20 };
21 }
22
23 displayChange(stat, value){
24 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected