UNPKG

sd-treeview

Version:

simple folders and files view in tree-view formate

14 lines (13 loc) 418 B
import React from "react"; import { FolderStructure } from "./Model/folder_structure"; interface ItreeData { treeStructure: FolderStructure[]; folderClick?: (name: string, address: string) => void; expandIcon?: string; collapseIcon?: string; closeIcon?: string; openIcon?: string; clickBackground?: string; } declare const Folder: React.FunctionComponent<ItreeData>; export default Folder;