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