import { Box, Stack } from "@contember/ui";
import { memo } from "react";
import { jsxDEV } from "react/jsx-dev-runtime";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/components/bindingFacade/collections/helpers/EmptyMessage.tsx";
const EmptyMessage = memo(({
  children,
  component,
  distinction
}) => {
  const MessageComponent = component ?? EmptyMessageDefault;
  return /* @__PURE__ */ jsxDEV(MessageComponent, {
    distinction,
    children
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 22,
    columnNumber: 9
  }, void 0);
});
EmptyMessage.displayName = "EmptyMessage";
const EmptyMessageDefault = memo(({
  children,
  distinction
}) => /* @__PURE__ */ jsxDEV(Box, {
  distinction,
  intent: "default",
  padding: "with-padding",
  children: /* @__PURE__ */ jsxDEV(Stack, {
    direction: "horizontal",
    justify: "space-around",
    children
  }, void 0, false, {
    fileName: _jsxFileName,
    lineNumber: 28,
    columnNumber: 3
  }, void 0)
}, void 0, false, {
  fileName: _jsxFileName,
  lineNumber: 27,
  columnNumber: 2
}, void 0));
export {
  EmptyMessage
};
//# sourceMappingURL=EmptyMessage.js.map
