import m from "react";
function l(e, t) {
  return e?.wix?.elementsRemovalState?.[t] === "REMOVED";
}
const i = (e) => (t) => {
  const { isElementRemoved: n, ...o } = t;
  return n ? null : m.createElement(e, { ...o });
};
export {
  l as getElementRemovalState,
  i as withElementRemoval
};
//# sourceMappingURL=builder-element-removal.mjs.map