Interface DirectoryListProps
Source: DirectoryList.tsx
Indexable
[key: string]: unknown
Properties
allowMultiSelect?
optionalallowMultiSelect:boolean
Whether to allow multiple files and folders to be selected at the same time
className?
optionalclassName:string
className prop for this component
directory
directory:
VirtualFolder
The directory to display
fileClassName?
optionalfileClassName:string
className prop for files
folderClassName?
optionalfolderClassName:string
className prop for folders
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
onSelectionChange()?
optionalonSelectionChange: (params:OnSelectionChangeParams) =>void
Function that handles selection changes
Parameters
params
Returns
void
showHidden?
optionalshowHidden:boolean
Whether to show hidden files and folders