import { j as r } from "../../../../../_virtual/jsx-runtime.js";
import { a as s } from "../../../../sdk/dist/shared/chunk-LGP6GWIY.js";
import "@sinclair/typebox";
import "../../../../sdk/dist/shared/chunk-UU2MSQXY.js";
import "../../../../sdk/dist/shared/chunk-T3LIA4YB.js";
import "../../../../sdk/dist/shared/chunk-YBGPPF7T.js";
import "../../../../sdk/dist/shared/chunk-UMHXXXVP.js";
import "../../../../sdk/dist/shared/chunk-5N6MBJJ4.js";
import e from "../components/BrickRoot.js";
import { InlineIcon as p } from "../../../../../node_modules/.pnpm/@iconify_react@6.0.0_react@18.3.0-canary-3d9b20132-20240124/node_modules/@iconify/react/dist/iconify.js";
import { useBrickStyle as n } from "../hooks/use-brick-style.js";
import { tx as a } from "../../../../style-system/dist/twind.js";
function B({ brick: o, editable: i }) {
  const { props: t } = o, m = n(o);
  return /* @__PURE__ */ r.jsx(e, { brick: o, editable: i, manifest: s, className: a(Object.values(m)), children: /* @__PURE__ */ r.jsx(p, { icon: t.icon, width: t.size, height: t.size }) });
}
export {
  B as default
};
//# sourceMappingURL=icon.js.map
