mirror of
https://gitee.com/ant-design/ant-design.git
synced 2024-12-03 04:30:06 +08:00
15 lines
276 B
JavaScript
15 lines
276 B
JavaScript
import React from 'react';
|
|
import Tree from 'rc-tree';
|
|
var TreeNode = Tree.TreeNode;
|
|
|
|
var antDTree = React.createClass({
|
|
|
|
render() {
|
|
return <Tree {...this.props} >
|
|
{this.props.children}
|
|
</Tree>;
|
|
}
|
|
});
|
|
antDTree.TreeNode = TreeNode;
|
|
module.exports = antDTree;
|