ant-design/components/tree/index.jsx
2015-08-03 16:11:56 +08:00

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;