@sensilla-cloud/react-file-tree
TypeScript icon, indicating that this package has built-in type declarations

1.0.8 • Public • Published

react-file-tree

React-File-Tree is designed to be a kitchen-sink component that you can drop in and forget about. It does however, come with a multitude of customization options to make it behave like you want.

Installation

npm install @sensilla-cloud/react-file-tree

or

yarn add @sensilla-cloud/react-file-tree

Basic Usage

import React from 'react';
import FileTree from '@sensilla-cloud/react-file-tree';

const data = [
    {
        id: 1,
        name: 'abc',
        children: [
            {
                id: 2,
                name: 'def'
            },
            {
                id: 3,
                name: 'ghi'
            }
        ]
    }
]

const App = () => (
    <FileTree data={data} />
)

You can view the api documentation here

License

This project is licensed under the terms of the MIT license.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.8
    0
    • latest

Version History

Package Sidebar

Install

npm i @sensilla-cloud/react-file-tree

Weekly Downloads

0

Version

1.0.8

License

MIT

Unpacked Size

273 kB

Total Files

15

Last publish

Collaborators

  • huner2