carbon-react
Version:
A library of reusable React components for easily building user interfaces.
10 lines (9 loc) • 384 B
TypeScript
export type StepFlowContextType = {
validatedCurrentStep?: number;
totalSteps?: number;
titleVariant?: "h1" | "h2";
category?: string;
titleRef?: React.RefObject<HTMLDivElement>;
};
declare const StepFlowProvider: import("react").Provider<StepFlowContextType | null>, useStepFlowContext: () => StepFlowContextType;
export { StepFlowProvider, useStepFlowContext };