Skip to content

Shared

Keeps Preact hooks inside the Enterprise bundle while reusing the shared framework-neutral drag behavior from Pro.

export function useDialogDrag<
Target extends HTMLElement,
Handle extends HTMLElement,
>({
targetRef,
handleRef,
enabled = true,
}: UseDialogDragOptions<Target, Handle>): void;