()
| 29 | }; |
| 30 | |
| 31 | render() { |
| 32 | const { canDrop, isOver, connectDropTarget } = this.props; |
| 33 | const isActive = canDrop && isOver; |
| 34 | |
| 35 | return connectDropTarget( |
| 36 | <div style={style}> |
| 37 | {isActive ? |
| 38 | 'Release to drop' : |
| 39 | 'Drag item here' |
| 40 | } |
| 41 | </div>, |
| 42 | ); |
| 43 | } |
| 44 | } |
nothing calls this directly
no outgoing calls
no test coverage detected