"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports["default"] = void 0;

var _react = _interopRequireDefault(require("react"));

require("./index.css");

function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }

var preCls = "titaui-search-dropdown";

function SearchDropDown(props) {
  var children = props.children,
      maxWidth = props.maxWidth;
  return /*#__PURE__*/_react["default"].createElement("div", {
    className: preCls
  }, /*#__PURE__*/_react["default"].createElement("span", {
    className: "".concat(preCls, "__text"),
    style: {
      maxWidth: maxWidth
    }
  }, children), /*#__PURE__*/_react["default"].createElement("span", {
    className: "".concat(preCls, "__icon tu-icon-sort-down")
  }));
}

var _default = SearchDropDown;
exports["default"] = _default;