mirror of
https://github.com/agdamsbo/prioritized.grouping.git
synced 2025-09-12 02:29:40 +02:00
20 lines
583 B
TypeScript
20 lines
583 B
TypeScript
|
import React from 'react';
|
||
|
import { WebR } from '../../webR/webr-main';
|
||
|
import type { FSNode } from '../../webR/webr-main';
|
||
|
import { FilesInterface } from '../App';
|
||
|
import './Files.css';
|
||
|
interface ITreeNode {
|
||
|
id: number;
|
||
|
name: string;
|
||
|
children?: ITreeNode[];
|
||
|
metadata?: {
|
||
|
[x: string]: string | number | null | undefined;
|
||
|
};
|
||
|
}
|
||
|
export declare function createTreeFromFSNode(fsNode: FSNode): ITreeNode;
|
||
|
export declare function Files({ webR, filesInterface, }: {
|
||
|
webR: WebR;
|
||
|
filesInterface: FilesInterface;
|
||
|
}): React.JSX.Element;
|
||
|
export default Files;
|