@payfit/unity-components
Version:
28 lines (27 loc) • 984 B
TypeScript
import { ReactNode } from 'react';
export type TimelineStepContentProps = {
/**
* Additional CSS classes
*/
className?: string;
/**
* Content to display (typically TimelineStepHeader, TimelineStepDescription, etc.)
*/
children?: ReactNode;
/**
* Optional status slot to display next to the title (vertical orientation or horizontal mobile)
* or at the bottom of the content (horizontal desktop)
* Typically a Badge component, but can be any ReactNode
*/
statusSlot?: ReactNode;
/**
* Optional action slot for links or actions
* Displayed after the description and statusSlot
* Typically a Link component, but can be any ReactNode
*/
actionSlot?: ReactNode;
};
/**
* TimelineStepContent wraps the content area of a timeline step
*/
export declare const TimelineStepContent: import('react').ForwardRefExoticComponent<TimelineStepContentProps & import('react').RefAttributes<HTMLDivElement>>;