()
| 67 | } |
| 68 | |
| 69 | render() { |
| 70 | let newProps = Object.assign({}, this.props) |
| 71 | delete newProps.onSortItems |
| 72 | const { sortId, ...props } = newProps |
| 73 | return ( |
| 74 | <Component |
| 75 | draggable={true} |
| 76 | onDragOver={this.dragOver} |
| 77 | onDragStart={this.sortStart} |
| 78 | onDragEnd={this.sortEnd} |
| 79 | onTouchStart={this.sortStart} |
| 80 | onTouchMove={this.dragOver} |
| 81 | onTouchEnd={this.sortEnd} |
| 82 | data-id={sortId} |
| 83 | {...props} |
| 84 | /> |
| 85 | ) |
| 86 | } |
| 87 | |
| 88 | } |
| 89 |
no outgoing calls
no test coverage detected