react-chrono
Version:
A Modern Timeline component for React
29 lines (28 loc) • 813 B
TypeScript
import React from 'react';
interface TimelineCardPortalProps {
containerClass: string;
contentRef: React.RefObject<HTMLDivElement>;
id: string;
theme?: any;
active: boolean;
disableInteraction: boolean;
showAllCardsHorizontal: boolean;
cardWidth?: number;
cardSubtitle?: string;
cardTitle?: string;
url?: string;
cardDetailedText?: string | string[];
slideShowRunning?: boolean;
media?: any;
onElapsed?: (id: string) => void;
customContent?: React.ReactNode;
hasFocus?: boolean;
onClick?: (id: string) => void;
timelineContent?: any;
isNested?: boolean;
nestedCardHeight?: number;
items?: any[];
wrapperId: string;
}
declare const TimelineCardPortal: React.FC<TimelineCardPortalProps>;
export default TimelineCardPortal;