import { j as e } from "../../../../_virtual/jsx-runtime.js";
import { forwardRef as a } from "react";
import { ListItemPrefixWrapper as r, ImagePlaceholder as o } from "./styles.js";
const p = a(
  ({ variant: s, prefix: t }, m) => {
    switch (t.type) {
      case "thumbnail":
      case "avatar":
        return /* @__PURE__ */ e.jsx(r, { variant: s, type: t.type, ref: m, children: t.img ? /* @__PURE__ */ e.jsx("img", { src: t.img }) : /* @__PURE__ */ e.jsx(o, { type: t.type }) });
      case "action":
      case "icon":
      default:
        return /* @__PURE__ */ e.jsx(r, { variant: s, type: t.type, ref: m, children: t.element });
    }
  }
);
export {
  p as ListItemPrefix
};
