import { j as r } from "../../node_modules/react/jsx-runtime.mjs";
import i from "../BitzButton/index.mjs";
import "./index.less.mjs";
import n from "../../node_modules/antd/es/drawer/index.mjs";
const c = ({ open: e = !1, placement: a = "right", ...t }) => {
  const l = { open: e, placement: a, ...t };
  return r.jsx(n, { className: "bitzDrawerBlock", ...l, children: t.children });
}, h = (e) => r.jsx(c, { open: e.open, placement: "bottom", closable: !1, className: "bitzPickDrawerheaderwrap", destroyOnClose: !0, title: r.jsxs("div", { className: "bitzPickDrawerheader", children: [r.jsx(i, { type: "text", onClick: e.handleCancel, children: "取消" }), r.jsx(i, { type: "link", onClick: e.handleOk, children: "确认" })] }), ...e, children: r.jsx("div", { className: "bitzPickDrawerContent", children: e.children }) });
export {
  h as BitzPickDrawer,
  c as default
};
