UNPKG

element-plus

Version:

A Component Library for Vue 3

40 lines (39 loc) 1.28 kB
import type { PropType } from 'vue'; import type { Store } from '../store'; import type { ColumnCls, ColumnStyle, Table } from '../table/defaults'; import type { TableOverflowTooltipOptions } from '../util'; interface TableBodyProps<T> { store: Store<T>; stripe?: boolean; context: Table<T>; rowClassName: ColumnCls<T>; rowStyle: ColumnStyle<T>; fixed: string; highlight: boolean; tooltipEffect?: string; tooltipOptions?: TableOverflowTooltipOptions; } declare const defaultProps: { store: { required: boolean; type: PropType<any>; }; stripe: BooleanConstructor; tooltipEffect: StringConstructor; tooltipOptions: { type: PropType<Partial<Pick<import("../../..").ElTooltipProps, "offset" | "effect" | "placement" | "popperClass" | "showAfter" | "hideAfter" | "popperOptions" | "enterable" | "appendTo" | "transition" | "showArrow">> | undefined>; }; context: { default: () => {}; type: PropType<Table<any>>; }; rowClassName: PropType<ColumnCls<any>>; rowStyle: PropType<ColumnStyle<any>>; fixed: { type: StringConstructor; default: string; }; highlight: BooleanConstructor; }; export { TableBodyProps }; export default defaultProps;