import React from 'react'; import Tree from 'rc-tree'; const AntTree = React.createClass({ getDefaultProps() { return { prefixCls: 'ant-tree' }; }, render() { return {this.props.children} ; } }); AntTree.TreeNode = Tree.TreeNode; export default AntTree;