MCPcopy Create free account
hub / github.com/danielstocks/react-sortable / render

Method render

src/SortableComposition.js:69–86  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers 3

bundle.jsFile · 0.45
kFunction · 0.45
finishClassComponentFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected