()
| 33 | |
| 34 | /** The payload of the in-flight drag, or null. Safe to read during dragover. */ |
| 35 | export function getCurrentDragPayload(): DragPayload | null { |
| 36 | return currentDragPayload |
| 37 | } |
| 38 | |
| 39 | export function setDragPayload(e: React.DragEvent, payload: DragPayload): void { |
| 40 | currentDragPayload = payload |
no outgoing calls
no test coverage detected