react-chrono
Version:
A Modern Timeline component for React
21 lines (20 loc) • 514 B
TypeScript
/**
* Represents the model for controlling the timeline.
*/
export interface TimelineControlModel {
activeTimelineItem?: number;
disableLeft?: boolean;
disableRight?: boolean;
id?: string;
isDark?: boolean;
onFirst?: () => void;
onLast?: () => void;
onNext?: () => void;
onPaused?: () => void;
onPrevious?: () => void;
onReplay?: () => void;
onToggleDarkMode?: () => void;
slideShowEnabled?: boolean;
slideShowRunning?: boolean;
totalItems?: number;
}