import { j as e } from "../../node_modules/react/jsx-runtime.mjs";
import c from "../BitzSearch/index.mjs";
import "./index.less.mjs";
import { useTranslation as n } from "../../node_modules/react-i18next/dist/es/useTranslation.mjs";
import l from "../../node_modules/antd/es/button/button.mjs";
const x = ({ enterButton: r, onSearch: o = () => {
}, operationText: a, operationEmit: s = () => {
}, placeholder: i, ...m }) => {
  const { t } = n();
  return e.jsxs("div", { className: "bitzTableSearchBlock", ...m, children: [e.jsx(c, { onSearch: o, enterButton: r || `${t("System_Search", "搜索")}`, placeholder: i || `${t("System_KeySelect", "请输入关键字")}` }), e.jsx(l, { className: "operationBtn", type: "primary", onClick: s, children: a || `${t("System_Add", "添加")}` })] });
};
export {
  x as default
};
