import { Tag } from "@contember/ui";
import { jsxDEV, Fragment } from "react/jsx-dev-runtime";
var _jsxFileName = "/__w/interface/interface/packages/admin/src/tenant/components/member/IdentityMembership.tsx";
const IdentityMembership = ({
  RoleRenderer: RoleRenderer2,
  memberships
}) => {
  return /* @__PURE__ */ jsxDEV(Fragment, {
    children: memberships.map((membership, i) => {
      const vars = {};
      for (let variable of membership.variables) {
        vars[variable.name] = variable.values;
      }
      return /* @__PURE__ */ jsxDEV(Tag, {
        children: /* @__PURE__ */ jsxDEV(RoleRenderer2, {
          variables: vars,
          role: membership.role
        }, void 0, false, {
          fileName: _jsxFileName,
          lineNumber: 21,
          columnNumber: 7
        }, void 0)
      }, membership.role, false, {
        fileName: _jsxFileName,
        lineNumber: 20,
        columnNumber: 6
      }, void 0);
    })
  }, void 0, false);
};
export {
  IdentityMembership
};
//# sourceMappingURL=IdentityMembership.js.map
