UNPKG

ivue-material-plus

Version:

A high quality UI components Library with Vue.js

20 lines (19 loc) 865 B
import type { TableBodyProps } from './defaults'; import type { TableColumnCtx } from '../table-column/defaults'; declare function useStyles(props: Partial<TableBodyProps>): { getRowClass: (row: TableColumnCtx, rowIndex: number) => (string | { [x: string]: boolean; "highlight-current-row": boolean; })[]; getRowStyle: (row: TableColumnCtx, rowIndex: number) => any; getTableSpan: (row: TableColumnCtx, column: TableColumnCtx, rowIndex: number, columnIndex: number) => { rowspan: number; colspan: number; }; getCellClass: (rowIndex: number, columnIndex: number, row: TableColumnCtx, column: TableColumnCtx) => string; getCellStyle: (rowIndex: number, columnIndex: number, row: TableColumnCtx, column: TableColumnCtx) => { left?: string; right?: string; }; }; export default useStyles;