DragSourceProps<DragDropObject> Interface


Properties and callbacks for the withDragSource Higher-Order Component.


Name Type Description
defaultDragLayer undefined | React.ComponentType<DragLayerProps<DragDropObject>> Specifies a default DragLayer component to display as a drag preview.  
objectType (data?: DragDropObject) => string | symbol | string | symbol Specifies the DragSource type.  
onDragSourceBegin undefined | (data: DragSourceArguments<DragDropObject>) => DragSourceArguments<DragDropObject> Triggered when DragSource has begun a drag.  
onDragSourceEnd undefined | (data: DragSourceArguments<DragDropObject>) => void Triggered when a DragSource drag has ended.  

Defined in

Last Updated: 20 September, 2019