fastlion-amis
Version:
一种MIS页面生成工具
14 lines (13 loc) • 868 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericCol = void 0;
var tslib_1 = require("tslib");
var react_1 = tslib_1.__importStar(require("react"));
var GenericCol = (0, react_1.memo)(function (props) {
var columns = props.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.GenericCol = GenericCol;
//# sourceMappingURL=./renderers/Lion/Table/LionTable/assembly/generic/GenericCol.js.map
;