import { PropType } from 'vue' import { Store } from '../store' import { ColumnCls, ColumnStyle, DefaultRow, Table } from '../table/defaults' interface TableBodyProps { store: Store stripe?: boolean context: Table rowClassName: ColumnCls rowStyle: ColumnStyle fixed: string highlight: boolean tooltipEffect: string } const defaultProps = { store: { required: true, type: Object as PropType['store']>, }, stripe: Boolean, tooltipEffect: String, 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