import React, { Component } from 'react';
import hoistNonReactStatics from 'hoist-non-react-statics';
import { Tree as NextTree } from '@alifd/next';
class Tree extends Component {
    render() {
        const { prefix = 'next-', className } = this.props;
        // 带线条模式
        return React.createElement(NextTree, Object.assign({}, this.props, { prefix: prefix, className: className }));
    }
}
Tree.Node = NextTree.Node;
hoistNonReactStatics(Tree, NextTree);
export default Tree;
