Skip to content

Commit ae7a05b

Browse files
orzyyyydarthtrevino
authored andcommitted
fix: typo (#1531)
1 parent 600d824 commit ae7a05b

File tree

1 file changed

+1
-1
lines changed
  • packages/documentation/docsite/markdown/docs/01 Top Level API

1 file changed

+1
-1
lines changed

packages/documentation/docsite/markdown/docs/01 Top Level API/useDrag.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ function DraggableComponent(props) {
3434

3535
- **`item`**: Required. A plain JavaScript object describing the data being dragged. This is the _only_ information available to the drop targets about the drag source so it's important to pick the _minimal_ data they need to know. You may be tempted to put a complex reference here, but you should try very hard to avoid doing this because it couples the drag sources and drop targets. It's a good idea to return something like `{ type, id }` from this method.
3636

37-
`item.type` **must be set**, and it must be either a string, an ES6 symbol`. Only the [drop targets](/docs/api/drop-target) registered for the same type will react to this item. Read the [overview](/docs/overview) to learn more about the items and types.
37+
`item.type` **must be set**, and it must be either a string, an ES6 symbol. Only the [drop targets](/docs/api/drop-target) registered for the same type will react to this item. Read the [overview](/docs/overview) to learn more about the items and types.
3838

3939
- **`previewOptions`**: Optional. A plain JavaScript object describing drag preview options.
4040

0 commit comments

Comments
 (0)