import { j as n } from "../../../../_virtual/jsx-runtime.js";
import { ListItemContentWrapper as c, ListItemPrimaryText as r, ListItemSecondaryText as h } from "./styles.js";
const I = ({
  primaryText: a,
  secondaryText: m,
  variant: e,
  prefix: t,
  suffix: o
}) => {
  let l = {};
  return ((t == null ? void 0 : t.type) === "action" || (o == null ? void 0 : o.type) === "action") && (l = {
    as: "label",
    htmlFor: (t == null ? void 0 : t.type) === "action" && (t == null ? void 0 : t.htmlFor) || (o == null ? void 0 : o.type) === "action" && (o == null ? void 0 : o.htmlFor) || ""
  }), /* @__PURE__ */ n.jsxs(c, { children: [
    /* @__PURE__ */ n.jsx(r, { ...l, children: a }),
    e === "multi-line" && typeof m == "string" ? /* @__PURE__ */ n.jsx(h, { children: m }) : m
  ] });
};
export {
  I as ListItemContent
};
