Skip to content

Interface DirectoryListProps

Source: DirectoryList.tsx

Indexable

[key: string]: unknown

Properties

allowMultiSelect?

optional allowMultiSelect: boolean

Whether to allow multiple files and folders to be selected at the same time


className?

optional className: string

className prop for this component


directory

directory: VirtualFolder

The directory to display


fileClassName?

optional fileClassName: string

className prop for files


folderClassName?

optional folderClassName: string

className prop for folders


onContextMenuFile?

optional onContextMenuFile: FileEventHandler

Function that handles context menu interactions on files


onContextMenuFolder?

optional onContextMenuFolder: FolderEventHandler

Function that handles context menu interactions on folders


onOpenFile?

optional onOpenFile: FileEventHandler

Function that handles file opening events


onOpenFolder?

optional onOpenFolder: FolderEventHandler

Function that handles folder opening events


onSelectionChange()?

optional onSelectionChange: (params: OnSelectionChangeParams) => void

Function that handles selection changes

Parameters

params

OnSelectionChangeParams

Returns

void


showHidden?

optional showHidden: boolean

Whether to show hidden files and folders

Built by Prozilla