0.2.1 • Published 1 year ago

@logo-rn/logo-treeview v0.2.1

Weekly downloads
-
License
See license in LI...
Repository
-
Last release
1 year ago

@logo-rn/logo-treeview

is a component provides the display of hierarchical data.

npm version

Installation

Install the component:

npm i @logo-rn/logo-treeview -s

Usage

Once installed, import the component in your application:

import {LogoTreeView} from '@logo-rn/logo-treeview';
 const items = [
 {
    id: "0",
    text: "Elektronik",
    isSelected: false,
    isExpanded: false,
    isDisabled: true,
    children: [
      {
        id: "1",
        text: "Telefon",
        isSelected: false,
        isExpanded: false,
        isDisabled: true,
        children: [
         {
           id: "2",
           text: "Apple",
           isSelected: false,
           isExpanded: false,
           isDisabled: true,
         },
       ],
      },
    ],
  },
];
//...
 <LogoTreeview
      items={items}
     />

For more detailed information, please visit:

Logo Elements Documentation ↗