(nextProps)
| 17 | } |
| 18 | |
| 19 | componentWillReceiveProps(nextProps) { |
| 20 | if (nextProps.disabled !== this.props.disabled) { |
| 21 | this.setState({ disabled: nextProps.disabled }); |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | disable(elem) { |
| 26 | this.setState({ disabled: true, show: elem }); |
nothing calls this directly
no outgoing calls
no test coverage detected