/react-tree-component

A React component that gracefully renders a nested Folder Tree.

Primary LanguageJavaScript

🌲 React Tree Component

A component that will help you to build your next nested Tree.

This project is a work in progress.

How to use

Check our folders.json, under public, for the raw data representation.

  • npm install
  • npm start
  • go to http://localhost:8000/

On the road map

  • Tests
  • A more generic approach
  • Publish it as a package

Contributors

How to Contribute

  • Before you open a ticket or send a pull request, search for previous discussions about the same feature or issue. Add to the earlier ticket if you find one.
  • Before sending a pull request for a feature or bug fix, be sure to have tests.
  • Use the same coding style as the rest of the codebase.
  • All pull requests should be made to the master branch.

License

ISC License (ISC) Copyright (c) 2015, Leonardo R. Barbosa

Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.

THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.