import _Tree from "@alifd/next/es/tree";
import _extends from "@babel/runtime/helpers/extends";
import _objectWithoutPropertiesLoose from "@babel/runtime/helpers/objectWithoutPropertiesLoose";
var _excluded = ["dataSource", "showLine", "selectable", "multiple", "checkable", "editable", "draggable", "defaultExpandedKeys", "defaultSelectedKeys", "useVirtual", "style"];
import * as React from 'react';
var MyTreeBasis = function MyTreeBasis(_ref) {
  var dataSource = _ref.dataSource,
    showLine = _ref.showLine,
    selectable = _ref.selectable,
    multiple = _ref.multiple,
    checkable = _ref.checkable,
    editable = _ref.editable,
    draggable = _ref.draggable,
    defaultExpandedKeys = _ref.defaultExpandedKeys,
    defaultSelectedKeys = _ref.defaultSelectedKeys,
    useVirtual = _ref.useVirtual,
    _ref$style = _ref.style,
    style = _ref$style === void 0 ? {} : _ref$style,
    otherProps = _objectWithoutPropertiesLoose(_ref, _excluded);
  return /*#__PURE__*/React.createElement(_Tree, _extends({
    showLine: showLine,
    selectable: selectable,
    multiple: multiple,
    checkable: checkable,
    editable: editable,
    draggable: draggable,
    defaultExpandedKeys: defaultExpandedKeys,
    defaultSelectedKeys: defaultSelectedKeys,
    style: style,
    dataSource: dataSource
  }, otherProps));
};
export default MyTreeBasis;