File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ an intermediate wrapper (`<Draggable><span>...</span></Draggable>`) in this case
3636The ` <Draggable/> ` component transparently adds draggable to whatever element is supplied as ` this.props.children ` .
3737** Note** : Only a single element is allowed or an Error will be thrown.
3838
39- In addition , the child element must provide support for the following props:
39+ For the ` <Draggable/> ` component to correctly attach itself to its child , the child element must provide support for the following props:
4040- ` style ` is used to give the transform css to the child.
4141- ` className ` is used to apply the proper classes to the object being dragged.
4242- ` onMouseDown ` is used along with onMouseUp to keep track of dragging state.
You can’t perform that action at this time.
0 commit comments