1.0.7 • Published 4 years ago

tree-editable v1.0.7

Weekly downloads
2
License
MIT
Repository
github
Last release
4 years ago

tree-editable

This package is a light-weight customizable tree component. The tree nodes can be editable and draggable.

npm.io

Installation

npm install tree-editable

Usage

Example input data

const inputTree = {
    'Movies': {
        'Casablanca':{},
        'Avatar':{},
        'Home Alone':{},
    },
    'Books': {
        'Fiction':{
            'Harry Potter':{},
            '1984':{}
        },
        'Non-Fiction':{
            'Homo Deus':{},
            'Homo Sapiens':{}
        }
    },
    'Music':{
        'Beyonce':{},
        'Jay Z':{}
    }
};

Example

import Tree from 'tree-editable'

<TreeList input={inputTree} />
1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago