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