import {ThemeStatus} from "../../uses/useStyle"; import {anonymousEffects, createHooks} from "@peryl/react-compose"; export interface iLoadingServiceOption { id?: string, hold?: boolean, status?: typeof ThemeStatus.TYPE, color?: string, maxTime?: number | null, onClose?: () => void, } export const closeLoadingServiceHook = createHooks<(id?: string) => void>(anonymousEffects);