import { walkPattern } from "@specverse/runtime/views/core";
import { emitJsxSource } from "./emit-jsx-source.js";
function composeListBody(context) {
  const imports = /* @__PURE__ */ new Set();
  const nodes = walkPattern("list-view", {
    model: context.model,
    modelSchemas: context.modelSchemas,
    view: context.view
  });
  return emitJsxSource(nodes, { imports, indent: 6 });
}
export {
  composeListBody
};
