import CartItem from "./Item/index.js";
import React from "react";
import { locales } from "@pisell/utils";
import { PisellModal } from "@pisell/materials";
import "./index.less";
//#region src/components/eventBooking/components/Provider/Cart/index.tsx
const Cart = ({ open, onCancel }) => {
	return /* @__PURE__ */ React.createElement(PisellModal, {
		open,
		title: locales.getText("pisell2.event.cart"),
		platform: "h5",
		closable: true,
		onCancel: () => onCancel(),
		bodyStyle: { padding: 0 },
		destroyOnClose: true,
		className: `event-cart-modal`,
		footer: null
	}, /* @__PURE__ */ React.createElement(CartItem, null));
};
//#endregion
export { Cart as default };
