@sandro-salzmann/vertical-timeline-component-react
Version:
A simple component for create a vertical timeline with React
16 lines (15 loc) • 396 B
TypeScript
export interface Theme {
yearColor: string;
lineColor: string;
dotColor: string;
borderDotColor: string;
titleColor: string;
subtitleColor: string;
textColor: string;
}
export declare type DateFormat = 'only-number' | 'short' | 'with-weekday' | 'full';
export interface DefaultValues {
theme?: Theme;
lang: string;
dateFormat: DateFormat;
}