Interface DirectoryListProps
Source: DirectoryList.tsx
Indexable
[key: string]: unknown
Properties
directory
directory:
VirtualFolder
The directory to display.
showHidden?
optionalshowHidden:boolean
Whether to show hidden files and folders.
folderClassName?
optionalfolderClassName:string
className prop for folders.
fileClassName?
optionalfileClassName:string
className prop for files.
className?
optionalclassName:string
className prop for this component.
onContextMenuFile?
optionalonContextMenuFile:FileEventHandler
Function that handles context menu interactions on files.
onContextMenuFolder?
optionalonContextMenuFolder:FolderEventHandler
Function that handles context menu interactions on folders.
onOpenFile?
optionalonOpenFile:FileEventHandler
Function that handles file opening events.
onOpenFolder?
optionalonOpenFolder:FolderEventHandler
Function that handles folder opening events.
allowMultiSelect?
optionalallowMultiSelect:boolean
Whether to allow multiple files and folders to be selected at the same time.
onSelectionChange()?
optionalonSelectionChange: (params:OnSelectionChangeParams) =>void
Function that handles selection changes.
Parameters
params
Returns
void