メインコンテンツに移動

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

次のエージェント型アプリを数分でリリースする準備はできていますか?

ドキュメントを読む