element-plus
Version:
A Component Library for Vue 3
30 lines (25 loc) • 692 B
JavaScript
Object.defineProperty(exports, '__esModule', { value: true });
var vue = require('vue');
var tableGrid = require('../table-grid.js');
function _isSlot(s) {
return typeof s === "function" || Object.prototype.toString.call(s) === "[object Object]" && !vue.isVNode(s);
}
const LeftTable = (props, {
slots
}) => {
if (!props.columns.length)
return;
const {
rightTableRef,
...rest
} = props;
return vue.createVNode(tableGrid["default"], vue.mergeProps({
"ref": rightTableRef
}, rest), _isSlot(slots) ? slots : {
default: () => [slots]
});
};
var RightTable = LeftTable;
exports["default"] = RightTable;
//# sourceMappingURL=right-table.js.map
;