Files
klz-cables.com/.pnpm-store/v10/files/0c/58e38253f50810ff330f7a0ef2ff7e1661be0be1b2d439490d84a9d6eea7637f443d13e4775df17e33d359e3b4ca80e9363d86851141921239f698c4215c19
Marc Mintel 5397309103
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
fix(products): fix breadcrumbs and product filtering (backport from main)
2026-02-24 16:04:21 +01:00

41 lines
996 B
Plaintext

export type LoadingOverlayTypes = 'fullscreen' | 'withoutNav';
type ToggleLoadingOverlayOptions = {
isLoading?: boolean;
key: string;
loadingText?: string;
type?: LoadingOverlayTypes;
};
export type ToggleLoadingOverlay = (options: ToggleLoadingOverlayOptions) => void;
type Add = {
payload: {
key: string;
loadingText?: string;
type: LoadingOverlayTypes;
};
type: 'add';
};
type Remove = {
payload: {
key: string;
loadingText?: never;
type: LoadingOverlayTypes;
};
type: 'remove';
};
export type Action = Add | Remove;
export type State = {
isLoading: boolean;
loaders: {
key: string;
loadingText: string;
type: LoadingOverlayTypes;
}[];
loadingText: string;
overlayType: LoadingOverlayTypes | null;
};
export type LoadingOverlayContext = {
isOnScreen: boolean;
toggleLoadingOverlay: ToggleLoadingOverlay;
};
export {};
//# sourceMappingURL=types.d.ts.map