import { jsxs as p, jsx as r } from "react/jsx-runtime";
import t from "prop-types";
import { Box as o } from "@mui/material";
import c from "@arcblock/icons/lib/EmptyIcon";
import { styled as s } from "../Theme/index.js";
const l = s(o)`
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  height: 100%;
  min-height: 100px;
  color: #999;
  .empty-icon {
    margin: 10px 0;
  }
`;
function y({ color: i = "inherit", size: e = 36, children: n = null, ...m }) {
  return /* @__PURE__ */ p(l, { ...m, children: [
    /* @__PURE__ */ r(c, { style: { width: e, height: e, color: i }, className: "empty-icon" }),
    /* @__PURE__ */ r(o, { className: "empty-content", children: n })
  ] });
}
y.propTypes = {
  color: t.string,
  size: t.number,
  children: t.any
};
export {
  y as default
};
