UNPKG

@ducor/react

Version:

admin template ui interface

16 lines (15 loc) 414 B
/** * `useProcessing` is a custom hook for handling processing states. * * @see Docs https://ui.ducor.net/hooks/use-processing */ export declare const useProcessing: (init?: boolean) => { finish: () => void; /** * @deprecated Use `loading` instead. */ isLoading: boolean; loading: boolean; start: () => void; }; export type UseProcessingReturn = ReturnType<typeof useProcessing>;