"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const components_1 = require("@bluebase/components");
/**
 * Given a route object, resolves and returns a screen component
 * @param route
 * @param BB
 */
exports.resolveScreenComponent = (route, BB) => {
    const componentName = route.component || route.screen || components_1.Noop;
    return BB.Components.resolveFromCache(componentName);
};
