(file)
| 50 | } |
| 51 | |
| 52 | const handleFileClick = (file) => { |
| 53 | if (onSelectFile) { |
| 54 | // Create a File object from the stored file info |
| 55 | // Note: This is a simplified approach. In production, you might need to fetch the actual file |
| 56 | onSelectFile(file) |
| 57 | } |
| 58 | } |
| 59 | |
| 60 | return ( |
| 61 | <div className="h-full flex flex-col bg-white dark:bg-gray-900"> |