UNPKG

tdesign-vue-next

Version:
24 lines (23 loc) 869 B
import { TdBaseTableProps } from '../type'; export declare function formatCSSUnit(unit: string | number): string | number; export default function useStyle(props: TdBaseTableProps): { tableClasses: import("vue").ComputedRef<(string | { [x: string]: boolean | ((h: typeof import("vue").h) => import("../..").TNodeReturnValue) | Partial<import("../..").TdAffixProps> | import("..").TableRowspanAndColspanFunc<import("..").TableRowData>; })[]>; sizeClassNames: { small: string; medium: string; large: string; default: string; xs: string; xl: string; block: string; }; tableElementStyles: import("vue").ComputedRef<{ width: string | number; }>; tableContentStyles: import("vue").ComputedRef<{ height: string | number; maxHeight: string | number; }>; };