tree-node

v1.1.32arrow_drop_down
v1.1.32
STATUS
Passing
DOWNLOADS
56
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
2 KB
1 contributor
Install tree-node as a package?
Copied
npm i @bit/myliang.fish-ui.tree-node
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
chevron_left
chevron_right
Properties
NameTypeDefault valueDescription
selected-key
String
multiple
Booleanfalse
expand
Booleanfalse
data
(required)
Array
data-key-map
Object

[{title: '’, key: '’, children: '’, checked: false}]

edited
Booleanfalse

{key: [state, [[key, state]]}

icon-caret-right
Stringfa fa-caret-right
icon-caret-down
Stringfa fa-caret-down
on-item-checked
Function(item) => {}
on-item-dblclick
Function(item) => {}
on-item-click
Function(item) => {}
on-item-remove
Function(data, item, index) => {}
on-item-render
Function(item) => item.title
Help and resources