(null);
let {dropIndicatorProps, isHidden, isDropTarget} = useDropIndicator(props, props.dropState, ref);
if (isHidden) {
return null;
}
return (
);
}
function Draggable() {
let {dragProps, isDragging} = useDrag({
getItems: () => [{'text/plain': 'budget.xls'}]
});
return (
budget.xls
);
}
alert(`Dropped on ${e.target.key}`)}>
- Documents
- proposal.doc
- presentation.ppt
```
## API