DocSpace-client/web/ASC.Web.Components/example/stories/tree/tree-menu-node/base
2019-06-28 12:11:56 +03:00
..
index.stories.js web: components: changed a tree component 2019-06-28 12:11:56 +03:00
README.md web: components: added properties to tree components stories 2019-06-14 14:45:40 +03:00

Tree: TreeMenuNode

Usage

import { TreeNode } from 'asc-web-components';

Description

Tree menu node description

Usage

<TreeNode data={data}/>;

Properties

Props Type Required Values Default Description
className String - - - additional class to treeNode
checkable bool - - - control node checkable if Tree is checkable
style Object - - - set style to treeNode
disabled bool - - false whether disabled the treeNode
disableCheckbox bool - - false whether disable the treeNode' checkbox
title String/element - - - tree/subTree's title
key bool - - - it's used with tree props's (default)ExpandedKeys / (default)CheckedKeys / (default)SelectedKeys. you'd better to set it, and it must be unique in the tree's all treeNodes
isLeaf bool - - false whether it's leaf node
icon element/Function(props) - - false customize icon. When you pass component, whose render will receive full TreeNode props as component props

Main Functions and use cases are: