Socket
Socket
Sign inDemoInstall

@sensilla-cloud/react-file-tree

Package Overview
Dependencies
12
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @sensilla-cloud/react-file-tree

Virtualized tree for displaying hierarchy in a traditional file-tree format


Version published
Weekly downloads
1
decreased by-88.89%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

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.

Keywords

FAQs

Last updated on 28 Mar 2023

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc