import React from 'react'; import Tree from 'rc-tree'; var TreeNode = Tree.TreeNode; var antDTree = React.createClass({ render() { return {this.props.children} ; } }); antDTree.TreeNode = TreeNode; module.exports = antDTree;