"use client";
import { j as c } from "../../../../node_modules/.pnpm/react@19.1.0/node_modules/react/jsx-runtime.mjs";
import { createPolymorphicComponent as l } from "@mantine/core";
import p from "../../../../node_modules/.pnpm/classnames@2.5.1/node_modules/classnames/index.mjs";
import t from "./SubLink.module.scss.mjs";
function a({
  children: s,
  component: e,
  className: n,
  selected: m,
  ...r
}) {
  const o = {};
  o[t.selected] = !!m;
  const i = e || "button";
  return /* @__PURE__ */ c.jsx(
    i,
    {
      className: p("caption-sm", t.root, o, n),
      ...r,
      children: s
    }
  );
}
const j = l(a);
export {
  j as SubLink
};
//# sourceMappingURL=index.mjs.map
