import _Dropdown from "antd/es/dropdown";
import _extends from "@babel/runtime/helpers/extends";
import React from 'react';
import { withSingleChild } from "../../utils/hoc";
var Dropdown = function Dropdown(props) {
  var innerProps = {};
  if (props.__designMode === 'design') {
    // 低代码编辑态中强制显示，将控制权交给引擎侧
    innerProps.open = true;
  }
  return /*#__PURE__*/React.createElement(_Dropdown, _extends({}, props, innerProps));
};
export default withSingleChild(Dropdown, ['children', 'overlay']);