Usage notes
This is a focused live interaction hook intended for custom drag affordances.
It subscribes to `clip:drop-feedback` instead of the broad provider snapshot,
so components can react while the pointer crosses tracks without turning the
entire editor shell into drag-time React state.
Signature
useTimelineClipDropFeedback(): UseTimelineClipDropFeedbackResultReturns
Current clip drag feedback and convenience fields for custom UI.
Examples
import { useTimelineClipDropFeedback } from '#react/hooks';
export function DropStatus() { const feedback = useTimelineClipDropFeedback();
if (!feedback.hasFeedback) { return null; }
return ( <p role="status"> {feedback.valid ? 'Drop to move clip' : `Cannot drop here: ${feedback.feedback.reason}`} </p> );}