UNPKG

alinea

Version:
23 lines (21 loc) 398 B
import "../../chunks/chunk-NZLE2WMY.js"; // src/field/view/View.ts import { section } from "alinea/core/Section"; var ViewSection = class { view; definition = {}; fields = {}; sections = []; constructor(view2) { this.view = view2; } }; function view(view2) { return section(new ViewSection(typeof view2 === "string" ? view2 : () => view2)); } export { ViewSection, view };