import { memo, createElement } from "react";
import { Box, Stack } from "@contember/ui";
const EmptyMessage = memo(({ children, component, distinction }) => {
  const MessageComponent = component ?? EmptyMessageDefault;
  return /* @__PURE__ */ createElement(MessageComponent, {
    distinction
  }, children);
});
EmptyMessage.displayName = "EmptyMessage";
const EmptyMessageDefault = memo(({ children, distinction }) => /* @__PURE__ */ createElement(Box, {
  distinction,
  intent: "default",
  padding: "with-padding"
}, /* @__PURE__ */ createElement(Stack, {
  direction: "horizontal",
  justify: "space-around"
}, children)));
export { EmptyMessage };
//# sourceMappingURL=EmptyMessage.js.map
