Skip to content

Commit 4627587

Browse files
committed
Rewording the topic sentence for flow
1 parent 1c31c6e commit 4627587

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ an intermediate wrapper (`<Draggable><span>...</span></Draggable>`) in this case
3636
The `<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.

0 commit comments

Comments
 (0)