import { useDragHelpers } from '~/hooks'; import DragDropOverlay from '~/components/Chat/Input/Files/DragDropOverlay'; import DragDropModal from '~/components/Chat/Input/Files/DragDropModal'; import { cn } from '~/utils'; interface DragDropWrapperProps { children: React.ReactNode; className?: string; } export default function DragDropWrapper({ children, className }: DragDropWrapperProps) { const { isOver, canDrop, drop, showModal, setShowModal, draggedFiles, handleOptionSelect } = useDragHelpers(); const isActive = canDrop && isOver; return (