import { useContext } from "../../hooks/useContext";
import useAddService from "../../hooks/useAddService";
import "./index.less";
var Empty = function Empty(props) {
  var _useContext = useContext(),
    state = _useContext.state;
  var emptyText = state.emptyText,
    holders = state.holders,
    hideAddBtn = state.hideAddBtn,
    platform = state.platform;
  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);
};
export default Empty;