@beercode/react-folder-tree
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

React Folder Tree Component

Simple yet flexible folder tree component

Live Demo

Default Folder Tree

<FolderTree
  onFileClick={(id: string) => {}}
  tree={[
    {
      type: 'folder',
      name: 'client',
      files: [
        { type: 'file', name: 'Button.jsx' },
        { type: 'file', name: 'React-typescript.tsx' },
        { type: 'file', name: 'Typescript.ts' },
        { type: 'file', name: 'Json.json' },
      ],
    },
  ]}
/>

Made with <3 and React;

/@beercode/react-folder-tree/

    Package Sidebar

    Install

    npm i @beercode/react-folder-tree

    Weekly Downloads

    0

    Version

    0.2.1

    License

    none

    Unpacked Size

    47.3 kB

    Total Files

    27

    Last publish

    Collaborators

    • flooded