mt-flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
25 lines (24 loc) • 944 B
TypeScript
import type { ComponentProps, FC, PropsWithChildren } from 'react';
import type { DeepPartial } from '../../';
import type { FlowbiteTimelineItemTheme } from './TimelineItem';
export interface FlowbiteTimelineTheme {
root: {
direction: {
horizontal: string;
vertical: string;
};
};
item: FlowbiteTimelineItemTheme;
}
export interface TimelineProps extends PropsWithChildren, ComponentProps<'ol'> {
horizontal?: boolean;
theme?: DeepPartial<FlowbiteTimelineTheme>;
}
export declare const Timeline: FC<TimelineProps> & {
Item: FC<import("./TimelineItem").TimelineItemProps>;
Point: FC<import("./TimelinePoint").TimelnePointProps>;
Content: FC<import("./TimelineContent").TimelineContentProps>;
Time: FC<import("./TimelineTime").TimelineTimeProps>;
Title: FC<import("./TimelineTitle").TimelineTitleProps>;
Body: FC<import("./TimelineBody").TimelineBodyProps>;
};