---
order: 5
title:
zh-CN: 连接线
en-US: Tree With Line
---
## zh-CN
带连接线的树。
## en-US
Tree With Line
````jsx
import { Tree } from 'antd';
const { TreeNode } = Tree;
class Demo extends React.Component {
onSelect = (selectedKeys, info) => {
console.log('selected', selectedKeys, info);
}
render() {
return (
);
}
}
ReactDOM.render(, mountNode);
````