()
| 117 | } |
| 118 | |
| 119 | componentWillUnmount() { |
| 120 | this.clearInterval(); |
| 121 | document.removeEventListener('keyup', this.handleKeyPress); |
| 122 | } |
| 123 | |
| 124 | handleKeyPress(evt) { |
| 125 | if (this.props.keyboard) { |
nothing calls this directly
no test coverage detected