Container.js 445 B

1234567891011121314151617
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. const utils_1 = require("./utils");
  4. function container(...children) {
  5. return new Container(children);
  6. }
  7. exports.container = container;
  8. class Container {
  9. constructor(children) {
  10. this.children = children;
  11. }
  12. build() {
  13. return utils_1.buildChildren(this.children);
  14. }
  15. }
  16. exports.Container = Container;
  17. //# sourceMappingURL=Container.js.map