RdndDropSpec<DragObject, DropResult, CollectedProps>
Defined in: dnd/src/vendored.ts:54
Structural stand-in for react-dnd's DropTargetHookSpec.
Type Parameters
| Type Parameter |
|---|
DragObject |
DropResult |
CollectedProps |
Indexable
[
key:string]:any
Properties
accept
accept:
any
Defined in: dnd/src/vendored.ts:55
canDrop?
optionalcanDrop?: (item:DragObject,monitor:any) =>boolean
Defined in: dnd/src/vendored.ts:57
Parameters
| Parameter | Type |
|---|---|
item | DragObject |
monitor | any |
Returns
boolean
collect?
optionalcollect?: (monitor:any) =>CollectedProps
Defined in: dnd/src/vendored.ts:56
Parameters
| Parameter | Type |
|---|---|
monitor | any |
Returns
CollectedProps
drop?
optionaldrop?: (item:DragObject,monitor:any) =>DropResult|undefined
Defined in: dnd/src/vendored.ts:58
Parameters
| Parameter | Type |
|---|---|
item | DragObject |
monitor | any |
Returns
DropResult | undefined
caution
API documentation is generated from the latest commit on the main branch. It may be somewhat inconsistent with official releases of React Query Builder.