tdesign-mobile-vue
Version:
tdesign-mobile-vue
15 lines (14 loc) • 595 B
TypeScript
import { TdBaseTableProps } from '../type';
export declare function formatCSSUnit(unit: string | number | undefined): string | number;
export default function useStyle(props: TdBaseTableProps): {
tableClasses: import("vue").ComputedRef<(string | string[] | {
[x: string]: boolean | ((h: typeof import("vue").h) => import("../..").SlotReturnValue);
})[]>;
tableElementStyles: import("vue").ComputedRef<{
width: string | number;
}>;
tableContentStyles: import("vue").ComputedRef<{
height: string | number;
maxHeight: string | number;
}>;
};