prioritized.grouping/docs/shinylive/webr/repl/components/Files.d.ts

19 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;