--- order: 7 title: zh-CN: 目录 en-US: directory --- ## zh-CN 内置的目录树,`multiple` 模式支持 `ctrl(Windows)` / `command(Mac)` 复选。 ## en-US Built-in directory tree. `multiple` support `ctrl(Windows)` / `command(Mac)` selection. ````jsx import { Tree } from 'antd'; const DirectoryTree = Tree.DirectoryTree; const { TreeNode } = Tree; class Demo extends React.Component { onSelect = () => { console.log('Trigger Select'); }; onExpand = () => { console.log('Trigger Expand'); }; render() { return ( ); } } ReactDOM.render(, mountNode); ````