useDroppable
Represents the KendoReact useDroppable
hook.
Use it to attach drop
events to a native HTML DOM elements, or custom React Components.
For more information, refer to the KendoReact Droppable article.
Parameters
ref
RefObject<undefined>
The `ref` of the HTML Element or React Component which will enable the `droppable` functionality.
callbacks
{ onDragEnter?: onDragEnter; onDragLeave?: onDragLeave; onDragOver?: onDragOver; onDrop?: onDrop; }
A collection of callbacks, called by the `useDroppable` hook when a specific action occurs.