"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.componentFromSpec = void 0;
const componentClassFromSpec_1 = require("./componentClassFromSpec");
function componentFromSpec(system, spec, specs) {
    const Class = (0, componentClassFromSpec_1.componentClassFromSpec)(spec, specs);
    const component = new Class({}, system);
    return component;
}
exports.componentFromSpec = componentFromSpec;
//# sourceMappingURL=componentFromSpec.js.map