百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
R

react-sortable-tree

> 前端框架
开源

用于嵌套数据和层次结构的可拖放排序组件

5.0K stars0 点赞1 次浏览
访问官网GitHub

工具介绍

用于嵌套数据和层次结构的可拖放排序组件

维护说明

ES6和CommonJS的建筑随每次发行而提供. 例如:

ZZ1ZZ

□ 使用量

(原始内容存档于2019-09-29). ```jsx import React, { Component } from 'react'; import SortableTree from 'react-sortable-tree'; import 'react-sortable-tree/style.css'; // This only needs to be imported once in your app

export default class Tree extends Component { constructor(props) { super(props);

this.state = {
  treeData: [
    { title: 'Chicken', children: [{ title: 'Egg' }] },
    { title: 'Fish', children: [{ title: 'fingerline' }] },
  ],
};

}

render() { return (

);

} }


□ 道具

++ Project ++ 类型 ++
|
|:相去相去也

Issues· 0 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

JavaScriptcomponentdrag-and-drophierarchical-datareact

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类前端框架
定价开源

> 相关工具

R
React
用于构建用户界面的 JavaScript 库
V
Vue.js
渐进式 JavaScript 框架
N
Next.js
基于 React 的全栈 Web 框架