Commit 17150ff3 authored by ioedeveloper's avatar ioedeveloper

Resolve Directory

parent 2c32becf
...@@ -94,20 +94,20 @@ module.exports = class Filepanel extends ViewPlugin { ...@@ -94,20 +94,20 @@ module.exports = class Filepanel extends ViewPlugin {
<div className='pl-2 remixui_treeview' data-id='filePanelFileExplorerTree'> <div className='pl-2 remixui_treeview' data-id='filePanelFileExplorerTree'>
<FileExplorer <FileExplorer
name='browser' name='browser'
localRegistry={this._components.registry} registry={this._components.registry}
files={this._deps.fileProviders.browser} files={this._deps.fileProviders.browser}
menuItems={['createNewFile', 'publishToGist', canUpload ? 'uploadFile' : '']} menuItems={['createNewFile', 'publishToGist', canUpload ? 'uploadFile' : '']}
plugin={this} plugin={this}
/> />
</div> </div>
<div className='pl-2 filesystemexplorer remixui_treeview'> <div className='pl-2 filesystemexplorer remixui_treeview'>
<FileExplorer {/* <FileExplorer
name='localhost' name='localhost'
localRegistry={this._components.registry} registry={this._components.registry}
files={this._deps.fileProviders.localhost} files={this._deps.fileProviders.localhost}
menuItems={[]} menuItems={[]}
plugin={this} plugin={this}
/> /> */}
</div> </div>
</div> </div>
</div> </div>
......
/* eslint-disable-next-line */ /* eslint-disable-next-line */
export interface FileExplorerProps { export interface FileExplorerProps {
name: string, name: string,
localRegistry: any, registry: any,
files: any, files: any,
menuItems?: string[], menuItems?: string[],
plugin: any plugin: any
......
export interface TreeViewProps { export interface TreeViewProps {
children?: React.ReactNode, children?: React.ReactNode,
id: string id?: string
} }
export interface TreeViewItemProps { export interface TreeViewItemProps {
children?: React.ReactNode, children?: React.ReactNode,
id: string, id?: string,
label: string | number | React.ReactNode, label: string | number | React.ReactNode,
expand?: boolean, expand?: boolean,
onClick?: VoidFunction, 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