primereact
Version:
PrimeReact is an open source UI library for React featuring a rich set of 80+ components, a theme designer, various theme alternatives such as Material, Bootstrap, Tailwind, premium templates and professional support. In addition, it integrates with Prime
23 lines (17 loc) • 740 B
TypeScript
import * as React from 'react';
type TimelineAlignType = 'left' | 'right' | 'alternate';
type TimelineLayoutType = 'vertical' | 'horizontal';
type TimelineTemplateType = React.ReactNode | ((item: any, index: number) => React.ReactNode);
export interface TimelineProps extends Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, 'ref'> {
value?: any[];
align?: TimelineAlignType;
layout?: TimelineLayoutType;
dataKey?: string;
opposite?: TimelineTemplateType;
marker?: TimelineTemplateType;
content?: TimelineTemplateType;
children?: React.ReactNode;
}
export declare class Timeline extends React.Component<TimelineProps, any> {
public getElement(): HTMLDivElement;
}