(props)
| 20 | |
| 21 | class Tree extends Component { |
| 22 | constructor (props) { |
| 23 | super(props); |
| 24 | |
| 25 | this.state = { |
| 26 | data: [], |
| 27 | value: this.formatValue(props.value) |
| 28 | }; |
| 29 | |
| 30 | this.onClick = this.onClick.bind(this); |
| 31 | this.handleChange = this.handleChange.bind(this); |
| 32 | } |
| 33 | |
| 34 | componentWillMount () { |
| 35 | this.formatData(this.props.data); |
nothing calls this directly
no test coverage detected
searching dependent graphs…