import { clsx } from 'clsx';
import { twMerge } from 'tailwind-merge';
import { jsx, jsxs } from 'react/jsx-runtime';

// src/lib/utils.ts
function cn(...inputs) {
  return twMerge(clsx(inputs));
}
function AppSettings({ groups, className }) {
  return /* @__PURE__ */ jsx("div", { className: cn("space-y-10 lg:space-y-12", className), children: groups.map((group, index) => /* @__PURE__ */ jsxs("section", { className: "grid gap-x-8 gap-y-6 lg:grid-cols-3", children: [
    /* @__PURE__ */ jsxs("div", { className: "lg:col-span-1", children: [
      /* @__PURE__ */ jsx("h3", { className: "text-base font-semibold text-foreground", children: group.title }),
      group.description ? /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-muted-foreground", children: group.description }) : null
    ] }),
    /* @__PURE__ */ jsx("div", { className: "lg:col-span-2", children: /* @__PURE__ */ jsx("div", { className: "rounded-xl border border-border bg-card p-6 text-card-foreground", children: group.children }) })
  ] }, index)) });
}

export { AppSettings };
//# sourceMappingURL=app-settings.js.map
//# sourceMappingURL=app-settings.js.map