import tableProps from './props'; export default { name: 'Table', props: { value: { type: Array, default() { return []; }, }, columns: { type: Array, default() { return []; }, }, editable: Boolean, editall: Boolean, clickable: Boolean, disabled: Boolean, ...tableProps, }, render(h) { const scopedSlots = this.$scopedSlots; const listeners = this.$listeners; return h(`z-table-${this.editable ? 'editable' : 'normal'}`, { props: { ...this._props }, scopedSlots, on: listeners }); }, };