mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-29 05:29:37 +08:00
14 lines
246 B
JavaScript
14 lines
246 B
JavaScript
import React from 'react';
|
|
import Tree from 'rc-tree';
|
|
|
|
var AntTree = React.createClass({
|
|
render() {
|
|
return <Tree {...this.props} >
|
|
{this.props.children}
|
|
</Tree>;
|
|
}
|
|
});
|
|
|
|
AntTree.TreeNode = Tree.TreeNode;
|
|
export default AntTree;
|