import { default as React, ReactElement } from 'react'; import { TimelineItemProps } from './TimelineItem'; export type TimelineProps = { /** * The TimelineItem(s) contained within the Timeline */ children: ReactElement | ReactElement[]; /** * className for the element */ className?: string; /** * Specifies the width of the element * @default content */ fit?: 'content' | 'parent'; /** * Function called to render date * @default defaultDateFormatter */ renderDate?: (date: Date, locale: string) => string; }; type Context = { fit: 'content' | 'parent'; renderDate: (date: Date, locale: string) => string; }; export declare const TimelineContext: React.Context; export declare const Timeline: ({ children, className, fit, renderDate, ...rest }: TimelineProps) => React.JSX.Element; export {}; //# sourceMappingURL=Timeline.d.ts.map