Hiyve Components - v1.0.0
    Preparing search index...

    Interface UseFileDragDropOptions

    Options for the useFileDragDrop hook.

    interface UseFileDragDropOptions {
        enableDragDrop?: boolean;
        onClearSelection?: () => void;
        onMove?: (files: FileEntry[], targetPath: string) => Promise<void>;
        onRefresh?: () => void;
        selectedFiles: FileEntry[];
    }
    Index

    Properties

    enableDragDrop?: boolean

    Whether drag and drop is enabled

    onClearSelection?: () => void

    Callback to clear selection after move

    onMove?: (files: FileEntry[], targetPath: string) => Promise<void>

    Callback to move files to a new location

    onRefresh?: () => void

    Callback to refresh file list after move

    selectedFiles: FileEntry[]

    Currently selected files (for multi-drag)