Skip to content

Commit

Permalink
docs: document the props arg to the collector fns
Browse files Browse the repository at this point in the history
  • Loading branch information
darthtrevino committed Mar 21, 2019
1 parent 2a7a237 commit 9840c38
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ If you're new to these concepts, the [overview](/docs/overview) should give you

- **`monitor`**: An instance of [`DragSourceMonitor`](/docs/api/drag-source-monitor). It is precisely the same `monitor` you receive in the drag source specification methods, and you can use it to query the information about the current drag state. Read the [`DragSourceMonitor` documentation](/docs/api/drag-source-monitor) for a complete list of `monitor` methods, or read the [overview](/docs/overview) for an introduction to the monitors.

-**`props`**: The component's current props

### Return Value

`DragSource` wraps your component and returns another React component.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ If you're new to these concepts, the [overview](/docs/overview) should give you

- **`monitor`**: An instance of [`DropTargetMonitor`](/docs/api/drop-target-monitor). It is precisely the same `monitor` you receive in the drop target specification methods, and you can use it to query the information about the current drag state. Read the [`DropTargetMonitor` documentation](/docs/api/drop-target-monitor) for a complete list of `monitor` methods, or read the [overview](/docs/overview) for an introduction to the monitors.

-**`props`**: The component's current props

### Return Value

`DropTarget` wraps your component and returns another React component.
Expand Down

0 comments on commit 9840c38

Please sign in to comment.