@fe6/water-pro
Version:
An enterprise-class UI design language and Vue-based implementation
14 lines (13 loc) • 402 B
TypeScript
/** @format */
import type { LoadingProps } from './types';
import type { Ref } from 'vue';
export interface UseLoadingOptions {
target?: HTMLElement | Ref<ElRef>;
props?: Partial<LoadingProps>;
}
interface Fn {
(): void;
}
export declare function useLoading(props: Partial<LoadingProps>): [Fn, Fn];
export declare function useLoading(opt: Partial<UseLoadingOptions>): [Fn, Fn];
export {};