"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
const react_1 = tslib_1.__importDefault(require("react"));
const core_1 = require("@bluebase/core");
const SettingsPageDesktop = core_1.getComponent('SettingsPageDesktop');
exports.createDesktopNavigator = (pages = []) => {
    return {
        drawerType: 'slide',
        drawerWidth: 225,
        open: true,
        type: 'drawer',
        routes: (pages || []).map(page => (Object.assign({}, page, { exact: true, screen: (props) => react_1.default.createElement(SettingsPageDesktop, Object.assign({}, page, props)) }))),
    };
};
