()
| 44 | }; |
| 45 | |
| 46 | render() { |
| 47 | const { isDragging, connectDragSource } = this.props; |
| 48 | const { name } = this.props; |
| 49 | const opacity = isDragging ? 0.4 : 1; |
| 50 | |
| 51 | return ( |
| 52 | connectDragSource( |
| 53 | <div style={{ ...style, opacity }}> |
| 54 | {name} |
| 55 | </div>, |
| 56 | ) |
| 57 | ); |
| 58 | } |
| 59 | } |
nothing calls this directly
no outgoing calls
no test coverage detected