()
| 252 | } |
| 253 | |
| 254 | componentDidMount () { |
| 255 | if (this.props.isOpen) { |
| 256 | this.renderModal(this.props); |
| 257 | } |
| 258 | } |
| 259 | |
| 260 | componentWillReceiveProps (newProps) { |
| 261 | if (!newProps.isOpen && !this.props.isOpen) { |
nothing calls this directly
no test coverage detected