Ir al contenido principal

FileEntry

FileEntry

Single file or directory row with icon, name, size, and selection state

FileEntry

Single file or directory row with icon, name, size, and selection state

Source: packages/appkit-ui/src/react/file-browser/file-entry.tsx

Props

PropTypeRequiredDefaultDescription
entryDirectoryEntry-The directory entry to render
entryPathstring-Resolved full path for this entry
isSelectedboolean-Whether this entry is currently selected
formatSize((bytes: number) => string)-Custom file size formatter (defaults to formatFileSize)

Usage

import { FileEntry } from '@databricks/appkit-ui';

<FileEntry /* props */ />

Databricks Developer Hub

¿Todo listo para lanzar tu próxima aplicación basada en agentes en minutos?

Leer la documentación