()
| 34 | }; |
| 35 | |
| 36 | render() { |
| 37 | const { hideSourceOnDrag, left, top, connectDragSource, isDragging, children } = this.props; |
| 38 | if (isDragging && hideSourceOnDrag) { |
| 39 | return null; |
| 40 | } |
| 41 | |
| 42 | return connectDragSource( |
| 43 | <div style={{ ...style, left, top }}> |
| 44 | {children} |
| 45 | </div>, |
| 46 | ); |
| 47 | } |
| 48 | } |
nothing calls this directly
no outgoing calls
no test coverage detected