"use client"; import React from 'react'; import { Folder, File } from 'lucide-react'; interface Note { id: string; title: string; lastModified: string; size: number; type: string; mime: string; etag: string; content?: string; } interface FileListProps { notes: Note[]; onNoteSelect: (note: Note) => void; currentFolder: string; onFolderChange: (folder: string) => void; loading: boolean; } export function FileList({ notes, onNoteSelect, currentFolder, onFolderChange, loading }: FileListProps) { const folders = ['Notes', 'Diary', 'Health', 'Contacts']; if (loading) { return (