(props)
| 8 | |
| 9 | class Button extends Component { |
| 10 | constructor (props) { |
| 11 | super(props); |
| 12 | this.state = { |
| 13 | disabled: props.disabled, |
| 14 | show: null |
| 15 | }; |
| 16 | this.handleClick = this.handleClick.bind(this); |
| 17 | } |
| 18 | |
| 19 | componentWillReceiveProps(nextProps) { |
| 20 | if (nextProps.disabled !== this.props.disabled) { |
nothing calls this directly
no outgoing calls
no test coverage detected