"use client";
import { j as r } from "../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import a from "react";
import { Divider as i } from "@mantine/core";
import u from "../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import l from "./List.module.scss.mjs";
function F({ children: e, className: m, ...n }) {
  let o = e, s = a.Children.count(o);
  const t = Array.isArray(e) ? e == null ? void 0 : e.at(0) : e;
  return s === 1 && (t == null ? void 0 : t.type.toString()) === "Symbol(react.fragment)" && (o = t == null ? void 0 : t.props.children, s = a.Children.count(t == null ? void 0 : t.props.children)), /* @__PURE__ */ r.jsx("div", { className: u(l.list, m), ...n, children: a.Children.map(o, (c, p) => /* @__PURE__ */ r.jsxs(r.Fragment, { children: [
    c,
    p !== s - 1 && /* @__PURE__ */ r.jsx(i, {})
  ] })) });
}
export {
  F as default
};
//# sourceMappingURL=index.mjs.map
