UNPKG

fastlion-amis

Version:

一种MIS页面生成工具

13 lines (12 loc) 835 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var tslib_1 = require("tslib"); var react_1 = (0, tslib_1.__importDefault)(require("react")); var CommonColgroup = function (_a) { var columns = _a.columns; return react_1.default.createElement("colgroup", null, columns === null || columns === void 0 ? void 0 : columns.map(function (column, index) { return (react_1.default.createElement("col", { key: index, style: { minWidth: (column === null || column === void 0 ? void 0 : column.name) !== "checkbox" ? column.width : 50, width: (column === null || column === void 0 ? void 0 : column.name) !== "checkbox" ? column.width : 50 } })); })); }; exports.default = CommonColgroup; //# sourceMappingURL=./renderers/Lion/Table/LionTable/assembly/table/header/commonColgroup.js.map