0.1.3 • Published 6 years ago

react-treeview-light v0.1.3

Weekly downloads
10
License
-
Repository
-
Last release
6 years ago

React-treeview npm version

Easy and light treeview component made with React

install

Npm:

npm i react-treeview-light -S

API

<TreeView />

  • data: content to show inside the treeview. (Required)
  • collapsed: whether the tree is collapsed or not. (Optional)

Data Example

{
    id: 0,
    value: 'Parent',
    childNodes: [{
        id: 1,
        value: 'A'
    },
    {
        value: 'B',
        id: 2,
        childNodes: [{
            id: 3,
            value: 'Ba'
        },
        {
            id: 4,
            value: 'Bb'
        }]
    }]
}

License

MIT.

0.1.3

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago