import { buildProps, definePropType } from '@element-plus/utils' import type { ExtractPropTypes } from 'vue' import type { Column } from './types' export const tableV2CellProps = buildProps({ class: String, cellData: { type: definePropType([String, Boolean, Number, Object]), }, column: { type: definePropType>(Object), }, columnIndex: Number, rowData: { type: definePropType(Object), }, rowIndex: Number, } as const) export type TableV2CellProps = ExtractPropTypes