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

Method constructor

demo/example/DropDownDemo.jsx:14–23  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

12
13export default class DropDownDemo extends React.Component {
14 constructor(props){
15 super(props);
16 this.state = {
17 value: null,
18 value1: 5,
19 value2: '',
20 value3: [2, 4],
21 value4: [1, 3],
22 };
23 }
24
25 displayChange(stat, value){
26 this.setState({

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected