tav-ui
Version:
8 lines (7 loc) • 320 B
TypeScript
import type { ComputedRef } from 'vue';
import type { TableProProps } from '../types';
export declare function useLoading(tablePropsRef: ComputedRef<TableProProps>): {
loading: ComputedRef<boolean>;
setLoading: (loading: boolean) => void;
};
export declare type UseLoadingReturn = ReturnType<typeof useLoading>;