@carbon/ibm-products
Version:
Carbon for IBM Products
31 lines • 1.17 kB
TypeScript
/**
* Copyright IBM Corp. 2025, 2025
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/
import { ReactNode, RefObject } from 'react';
export type ActionType = 'close' | 'start' | 'skip' | 'back' | 'next';
export type disableButtonConfigType = {
skip?: boolean;
back?: boolean;
next?: boolean;
start?: boolean;
};
export interface InterstitialScreenContextType {
bodyChildrenData?: ReactNode;
setBodyChildrenData?: (value: ReactNode) => void;
isFullScreen?: boolean;
handleClose?: (value: ActionType) => void;
progStep: number;
setProgStep?: (value: number) => void;
bodyScrollRef?: RefObject<HTMLDivElement | null>;
handleGotoStep?: (value: number) => void;
stepCount: number;
setStepCount?: (value: number) => void;
disableButtonConfig?: disableButtonConfigType;
setDisableButtonConfig?: (value: disableButtonConfigType) => void;
}
export declare const blockClass: string;
export declare const InterstitialScreenContext: import("react").Context<InterstitialScreenContextType>;
//# sourceMappingURL=context.d.ts.map