Files
btea 9ffd7ce279 feat(components): [config-provider] add table config (#23610)
* feat(components): [config-provider] add table config

* fix: update

* Update packages/components/table/src/table-column/watcher-helper.ts

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>

* fix: update

* docs: update

* docs: update

---------

Co-authored-by: Noblet Ouways <91417411+Dsaquel@users.noreply.github.com>
2026-02-10 09:07:40 +08:00

37 lines
859 B
TypeScript

import { withInstall, withNoopInstall } from '@element-plus/utils'
import Table from './src/table.vue'
import TableColumn from './src/tableColumn'
import type { SFCWithInstall } from '@element-plus/utils'
export const ElTable: SFCWithInstall<typeof Table> & {
TableColumn: typeof TableColumn
} = withInstall(Table, {
TableColumn,
})
export default ElTable
export const ElTableColumn: SFCWithInstall<typeof TableColumn> =
withNoopInstall(TableColumn)
export type TableInstance = InstanceType<typeof Table> & unknown
export type TableColumnInstance = InstanceType<typeof TableColumn> & unknown
export type {
SummaryMethod,
Table,
TableProps,
TableRefs,
ColumnCls,
ColumnStyle,
CellCls,
CellStyle,
TreeNode,
RenderRowData,
Sort,
Filter,
TableColumnCtx,
TableTooltipData,
TableConfigContext,
} from './src/table/defaults'