import { Fragment as e, createElementBlock as t, createElementVNode as n, defineComponent as r, openBlock as i, renderList as a, toDisplayString as o, withModifiers as s } from "vue";
var c = { class: "context-menu" }, l = ["onClick"], u = /* @__PURE__ */ r({
	__name: "Menu",
	props: { options: {} },
	emits: ["close"],
	setup(r, { emit: u }) {
		let d = u, f = (e) => {
			e.cb(), d("close");
		};
		return (u, d) => (i(), t("div", c, [(i(!0), t(e, null, a(r.options, (e, r) => (i(), t("div", {
			key: r,
			onClick: s((t) => f(e), ["stop"])
		}, [n("span", null, o(e.text), 1)], 8, l))), 128))]));
	}
});
export { u as default };

//# sourceMappingURL=Menu.vue2.js.map