()
| 87 | }; |
| 88 | |
| 89 | render() { |
| 90 | const { text, isDragging, connectDragSource, connectDropTarget } = this.props; |
| 91 | const opacity = isDragging ? 0 : 1; |
| 92 | |
| 93 | return connectDragSource(connectDropTarget( |
| 94 | <div style={{ ...style, opacity }}> |
| 95 | {text} |
| 96 | </div>, |
| 97 | )); |
| 98 | } |
| 99 | } |
nothing calls this directly
no outgoing calls
no test coverage detected