feat: basic file drag and drop

This commit is contained in:
2025-09-20 22:25:01 +00:00
parent daae016cf3
commit d6b693b54b
7 changed files with 177 additions and 28 deletions

View File

@@ -22,3 +22,8 @@ export const itemBeingRenamedAtom = atom<{
} | null>(null)
export const openedFileAtom = atom<Doc<"files"> | null>(null)
export const dragInfoAtom = atom<{
source: DirectoryItem
items: Id<"files">[]
} | null>(null)