import React, { useRef } from "react";
import SearchInput from "./SearchInput";
import SearchToggle from "./SearchToggle";
import "./Search.scss";
function Search() {
  const searchContainerRef = useRef();
  return /*#__PURE__*/React.createElement("div", {
    className: "wkp-search",
    ref: searchContainerRef
  }, /*#__PURE__*/React.createElement(SearchToggle, {
    popupAnchor: searchContainerRef === null || searchContainerRef === void 0 ? void 0 : searchContainerRef.current
  }, /*#__PURE__*/React.createElement(SearchInput, null)));
}
export default /*#__PURE__*/React.memo(Search);
//# sourceMappingURL=Search.js.map