UNPKG

rush-init-project-plugin

Version:

Rush plugin for initialize project in monorepo

28 lines 812 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.TemplateList = void 0; var blessed_1 = require("blessed"); var COLORS_1 = require("../COLORS"); var TemplateList = function (choices) { var templateList = (0, blessed_1.list)({ keys: true, width: '100%', mouse: true, style: { item: { hover: { bg: COLORS_1.COLORS.grey0 } }, selected: { bg: COLORS_1.COLORS.blue4, bold: true } }, items: choices.map(function (choice) { return choice.name; }) }); // list.focus(); return { templateList: templateList }; }; exports.TemplateList = TemplateList; //# sourceMappingURL=templateList.js.map