@payfit/unity-components
Version:
23 lines (22 loc) • 765 B
TypeScript
import { VariantProps } from '@payfit/unity-themes';
import { timelineMarker } from '../Timeline.variants.js';
export type TimelineMarkerProps = {
/**
* State of the timeline step
* @default 'pending'
*/
state?: VariantProps<typeof timelineMarker>['state'];
/**
* Step number to display (for numbered timelines)
*/
stepNumber?: number;
/**
* Additional CSS classes
*/
className?: string;
};
/**
* TimelineMarker displays the visual indicator for a timeline step
* Shows a check icon when completed, a number for numbered timelines, or an empty circle
*/
export declare const TimelineMarker: import('react').ForwardRefExoticComponent<TimelineMarkerProps & import('react').RefAttributes<HTMLDivElement>>;