import { useContext } from "../../hooks/useContext.js";
import useAddService from "../../hooks/useAddService.js";
import "./index.less";
//#region src/components/shoppingCart/components/Empty/index.tsx
const Empty = (props) => {
	const { state } = useContext();
	const { emptyText, holders, hideAddBtn, platform } = state;
	return /* @__PURE__ */ React.createElement("div", { className: "pisell-lowcode__shopping-cart-empty" }, emptyText, !hideAddBtn && platform !== "h5" ? useAddService(props === null || props === void 0 ? void 0 : props.id) : null);
};
//#endregion
export { Empty as default };
