import { jsx as c } from "@emotion/react/jsx-runtime";
import { Chip as d } from "../../../Chip/Chip.js";
import p from "../DynamicSortBase/useDynamicSortBase.js";
import s from "./useAppliedSortChip.js";
function C(o) {
  const { fixed: t } = o, { onEditSort: e, onDelete: i, iconFieldUrl: n, labels: r, iconSort: l } = s(o), { size: a } = p();
  return /* @__PURE__ */ c(
    d,
    {
      opacity: !0,
      variant: "contained",
      onClick: e,
      startIcon: n,
      label: r.labelField,
      endIcon: l,
      size: a,
      onDeleted: t ? void 0 : i
    }
  );
}
export {
  C as default
};
