(props)
| 4 | |
| 5 | class TimeSet extends Component { |
| 6 | constructor (props) { |
| 7 | super(props); |
| 8 | this.state = { |
| 9 | value: props.value || 0, |
| 10 | type: props.type |
| 11 | }; |
| 12 | this.changeStage = this.changeStage.bind(this); |
| 13 | this.add = this.add.bind(this); |
| 14 | this.sub = this.sub.bind(this); |
| 15 | } |
| 16 | |
| 17 | componentWillReceiveProps (nextProps) { |
| 18 | if (nextProps.value !== this.props.value) { |
nothing calls this directly
no outgoing calls
no test coverage detected