@payfit/unity-components
Version:
14 lines (13 loc) • 420 B
TypeScript
import { ReactNode } from 'react';
type TimelineStepContextValue = {
/**
* Unique ID for the step label, used for aria-labelledby
*/
labelId: string;
};
export declare function TimelineStepProvider({ labelId, children, }: {
labelId: string;
children: ReactNode;
}): import("react/jsx-runtime").JSX.Element;
export declare function useTimelineStepContext(): TimelineStepContextValue;
export {};