+ {/* Drives selector (Windows only) */}
+ {drives.length > 0 && (
+
+
+
+ Drives:
+
+ {drives.map((drive) => (
+
+ ))}
+
+ )}
+
+ {/* Current path breadcrumb */}
+
+
+ {parentPath && (
+
+ )}
+
+ {currentPath || "Loading..."}
+
+
+
+ {/* Directory list */}
+
+ {loading && (
+
+
Loading directories...
+
+ )}
+
+ {error && (
+
+ )}
+
+ {!loading && !error && directories.length === 0 && (
+
+
No subdirectories found
+
+ )}
+
+ {!loading && !error && directories.length > 0 && (
+
+ {directories.map((dir) => (
+
+ ))}
+
+ )}
+
+
+
+ Click on a folder to navigate. Select the current folder or navigate to a subfolder.
+
+
+
+