()
| 39 | }; |
| 40 | |
| 41 | render() { |
| 42 | const { name, isDropped, isDragging, connectDragSource } = this.props; |
| 43 | const opacity = isDragging ? 0.4 : 1; |
| 44 | |
| 45 | return connectDragSource( |
| 46 | <div style={{ ...style, opacity }}> |
| 47 | {isDropped ? |
| 48 | <s>{name}</s> : |
| 49 | name |
| 50 | } |
| 51 | </div>, |
| 52 | ); |
| 53 | } |
| 54 | } |
nothing calls this directly
no outgoing calls
no test coverage detected