UNPKG

react-chrono-multicard

Version:

A Modern Timeline component for React with multiple card entries

22 lines (21 loc) 588 B
/// <reference types="react" /> import { Theme } from './Theme'; import { Media } from './TimelineMediaModel'; export interface TimelineContentModel { active?: boolean; branchDir?: string; content?: string; customContent?: React.ReactNode; detailedText?: string | string[]; flip?: boolean; hasFocus?: boolean; id?: string; media?: Media; onClick?: (id: string) => void; onElapsed?: (id?: string) => void; onShowMore: () => void; slideShowActive?: boolean; theme?: Theme; title?: string; url?: string; }