// @ts-nocheck import type { PropType } from 'vue' import type { Store } from '../store' import type { ColumnCls, ColumnStyle, DefaultRow, Table, } from '../table/defaults' import type { TableOverflowTooltipOptions } from '../util' interface TableBodyProps { store: Store stripe?: boolean context: Table rowClassName: ColumnCls rowStyle: ColumnStyle fixed: string highlight: boolean tooltipEffect?: string tooltipOptions?: TableOverflowTooltipOptions } const defaultProps = { store: { required: true, type: Object as PropType['store']>, }, stripe: Boolean, tooltipEffect: String, tooltipOptions: { type: Object as PropType['tooltipOptions']>, }, context: { default: () => ({}), type: Object as PropType['context']>, }, rowClassName: [String, Function] as PropType< TableBodyProps['rowClassName'] >, rowStyle: [Object, Function] as PropType< TableBodyProps['rowStyle'] >, fixed: { type: String, default: '', }, highlight: Boolean, } export { TableBodyProps } export default defaultProps