Skip to content

forgxq/pt-react-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pt-react-tree

公司项目需要,基于react-ui-tree修改,在此非常感谢原作者adjusted

Installation

npm install pt-react-tree --save

Usage

<Tree
  paddingLeft={20}              
  tree={this.state.tree}  // 数据
  renderNode={this.renderNode} // 节点显示样式
  dragabled={true} // 是否能够拖拽改变树机构,默认为false
  onChange={this.handleChange}   // 改变树结构时触发的事件
/>

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published