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