|
|
@ -98,8 +98,8 @@ export const FileRender = (props: RenderFileProps) => { |
|
|
|
return ( |
|
|
|
return ( |
|
|
|
<TreeViewItem |
|
|
|
<TreeViewItem |
|
|
|
id={`treeViewItem${file.path}`} |
|
|
|
id={`treeViewItem${file.path}`} |
|
|
|
iconX="pr-3 fa fa-folder" |
|
|
|
iconX="mr-2 fa fa-folder" |
|
|
|
iconY={props.expandPath.includes(file.path) ? 'pr-0 fa fa-folder-open' : 'pr-3 fa fa-folder'} |
|
|
|
iconY={props.expandPath.includes(file.path) ? 'fa fa-folder-open' : 'fa fa-folder'} |
|
|
|
key={`${file.path + props.index}`} |
|
|
|
key={`${file.path + props.index}`} |
|
|
|
label={ |
|
|
|
label={ |
|
|
|
<> |
|
|
|
<> |
|
|
|