import { defineComponent as n, openBlock as m, createElementBlock as p, mergeProps as l, unref as e, createVNode as i } from "vue";
import { IconApAdLineCloseDrawer as d } from "@aplus-frontend/icon";
import "../../config-provider/index.mjs";
import f from "../style/index.mjs";
import { useNamespace as u } from "../../config-provider/hooks/use-namespace.mjs";
const B = /* @__PURE__ */ n({
  name: "ApDrawerClose",
  __name: "ApDrawerClose",
  emits: ["close"],
  setup(_, { emit: o }) {
    const { b: r } = u("ap-drawer"), t = f("ap-drawer"), s = o, a = () => {
      s("close");
    };
    return (c, C) => (m(), p("div", l({
      ...c.$attrs
    }, {
      class: [e(r)("close"), e(t)],
      onClick: a
    }), [
      i(e(d))
    ], 16));
  }
});
export {
  B as default
};
