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
| Prop | Type | Required | Default | Description |
|---|---|---|---|---|
entry | DirectoryEntry | ✓ | - | The directory entry to render |
entryPath | string | ✓ | - | Resolved full path for this entry |
isSelected | boolean | - | 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 */ />