UNPKG

webr

Version:

The statistical programming language R compiled into WASM for use in a web browser and node.

20 lines (19 loc) 583 B
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;