kutlugsahin/react-smooth-dnd

Draggable's render is incorrectly documented

juanrisso opened this issue · 2 comments

A really minor 'problem':
the draggable component's render documentation says it recieves the 'ref ' parameter, when it doensn't happen.

Container:120 >> return this.props.render(this.containerRef);
Draggable:21 >> return React.cloneElement(this.props.render(), { className: wrapperClass });

I think it is a problem that the ref isn't passed though