"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.componentFromUnitSpec = componentFromUnitSpec;
const componentFromSpecId_1 = require("./componentFromSpecId");
function componentFromUnitSpec(system, specs, unitSpec, subComponentMap = {}) {
    const { id } = unitSpec;
    return (0, componentFromSpecId_1.componentFromSpecId)(system, specs, id, subComponentMap);
}
//# sourceMappingURL=componentFromUnitSpec.js.map