import { jsx as l } from "@emotion/react/jsx-runtime";
function c(t) {
  const { avatarUrl: a, firstName: r, lastName: e, size: s, slotAvatar: o } = t;
  return /* @__PURE__ */ l(
    o,
    {
      alt: "User avatar",
      color: "default",
      sizes: s,
      ...a ? {
        src: a
      } : { children: `${r[0]}${e[0]}`.toUpperCase() }
    }
  );
}
export {
  c as default
};
