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