rsuite-tree

2.0.0 • Public • Published

npm Coverage Status

rsuite-tree

树形控件

# 快速开始

安装

npm install rsuite-tree --save

用法

引入 less 文件

@import "~rsuite-check-tree/lib/less/index";
export default () => (
  <div className="doc-example">
    <Tree
      data={treeData}
      height={300}
      defaultExpandAll
      defaultValue={'Dave'}
      disabledItems={['disabled']}
      onExpand={(activeNode, layer) => {
        console.log(activeNode, layer);
      }}
    />
  </div>
);

更多用法:rsuite-tree 示例

/rsuite-tree/

    Package Sidebar

    Install

    npm i rsuite-tree

    Weekly Downloads

    2

    Version

    2.0.0

    License

    MIT

    Last publish

    Collaborators

    • simonguo
    • superman66