
Security News
The Code You Didn't Write Is Still Yours to Defend
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.
bee-table-tree
Advanced tools
react bee-table-tree component for tinper-bee
some description...
class Demo extends Component {
constructor(props) {
super(props);
this.columns = [{
title: "Name",
dataIndex: "name",
key: "name",
width: "40%"
},
{
title: "Age",
dataIndex: "age",
key: "age",
width: "30%"
},
{
title: "Address",
dataIndex: "address",
key: "address"
}];
this.data = [{
key: 1,
name: "root",
age: 60,
address: "New York No. 1 Lake Park",
children: [
{
key: 11,
name: "firstChildNode",
age: 42,
address: "New York No. 2 Lake Park",
children: [
{
key: 111,
name: "sencondChildNode",
age: 16,
address: "New York No. 3 Lake Park"
}
]
},
{
key: 12,
name: "firstChildNode",
age: 30,
address: "New York No. 3 Lake Park",
children: [
{
key: 121,
name: "sencondChildNode",
age: 16,
address: "New York No. 3 Lake Park"
}
]
},
]
}];
}
render() {
return (
<div className="demo1">
<TableTree columns={this.columns} data={this.data} />
</div>
)
}
}
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| data | 传入的表格数据 | array | [] |
| columns | 列的配置表,具体配置见下表 | array | - |
| 参数 | 说明 | 类型 | 默认值 |
|---|---|---|---|
| key | 列的键 | string | - |
| className | 传入列的classname | String | - |
| colSpan | 该列的colSpan | Number | - |
| title | 列的标题 | node | - |
| dataIndex | 显示数据记录的字段 | String | - |
| width | 宽度的特定比例根据列的宽度计算 | String/Number | - |
$ npm install -g bee-tools
$ git clone https://github.com/tinper-bee/bee-table-tree
$ cd bee-table-tree
$ npm install
$ npm run dev
FAQs
TableTree ui component for react
The npm package bee-table-tree receives a total of 6 weekly downloads. As such, bee-table-tree popularity was classified as not popular.
We found that bee-table-tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.