@logo-rn/logo-treeview
v0.2.1
Published
<LogoTreeView/> is a component provides the display of hierarchical data.
Downloads
4
Readme
@logo-rn/logo-treeview
is a component provides the display of hierarchical data.
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}
/>