()
| 55 | } |
| 56 | |
| 57 | render() { |
| 58 | const { hideSourceOnDrag, connectDropTarget } = this.props; |
| 59 | const { boxes } = this.state; |
| 60 | |
| 61 | return connectDropTarget( |
| 62 | <div style={styles}> |
| 63 | {Object.keys(boxes).map((key) => { |
| 64 | const { left, top, title } = boxes[key]; |
| 65 | return ( |
| 66 | <Box |
| 67 | key={key} |
| 68 | id={key} |
| 69 | left={left} |
| 70 | top={top} |
| 71 | hideSourceOnDrag={hideSourceOnDrag} |
| 72 | > |
| 73 | {title} |
| 74 | </Box> |
| 75 | ); |
| 76 | })} |
| 77 | </div>, |
| 78 | ); |
| 79 | } |
| 80 | } |
nothing calls this directly
no outgoing calls
no test coverage detected