"use client";
import { j as r } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { Breadcrumbs as c } from "@mantine/core";
import e from "./Breadcrumbs.module.scss.mjs";
import i from "../../../node_modules/.pnpm/@tabler_icons-react@3.34.0_react@19.1.0/node_modules/@tabler/icons-react/dist/esm/icons/IconChevronRight.mjs";
import d from "../../../node_modules/.pnpm/@tabler_icons-react@3.34.0_react@19.1.0/node_modules/@tabler/icons-react/dist/esm/icons/IconHome.mjs";
function u({
  items: a,
  homeHref: o = "/-/dashboard",
  ...t
}) {
  return /* @__PURE__ */ r.jsxs(
    c,
    {
      separator: /* @__PURE__ */ r.jsx(i, {}),
      classNames: {
        root: e.root,
        breadcrumb: e.breadcrumb,
        separator: e.separator
      },
      ...t,
      children: [
        /* @__PURE__ */ r.jsx("a", { href: o, children: /* @__PURE__ */ r.jsx(d, { className: e.home }) }),
        a.map((s, m) => /* @__PURE__ */ r.jsx("a", { href: s.href, children: /* @__PURE__ */ r.jsx("div", { className: "title", children: s.title }) }, m))
      ]
    }
  );
}
export {
  u as default
};
//# sourceMappingURL=index.mjs.map
