Commit 17150ff3 authored by ioedeveloper's avatar ioedeveloper

Resolve Directory

parent 2c32becf
......@@ -94,20 +94,20 @@ module.exports = class Filepanel extends ViewPlugin {
<div className='pl-2 remixui_treeview' data-id='filePanelFileExplorerTree'>
<FileExplorer
name='browser'
localRegistry={this._components.registry}
registry={this._components.registry}
files={this._deps.fileProviders.browser}
menuItems={['createNewFile', 'publishToGist', canUpload ? 'uploadFile' : '']}
plugin={this}
/>
</div>
<div className='pl-2 filesystemexplorer remixui_treeview'>
<FileExplorer
{/* <FileExplorer
name='localhost'
localRegistry={this._components.registry}
registry={this._components.registry}
files={this._deps.fileProviders.localhost}
menuItems={[]}
plugin={this}
/>
/> */}
</div>
</div>
</div>
......
/* eslint-disable-next-line */
export interface FileExplorerProps {
name: string,
localRegistry: any,
registry: any,
files: any,
menuItems?: string[],
plugin: any
......
export interface TreeViewProps {
children?: React.ReactNode,
id: string
id?: string
}
export interface TreeViewItemProps {
children?: React.ReactNode,
id: string,
id?: string,
label: string | number | React.ReactNode,
expand?: boolean,
onClick?: VoidFunction,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment