@duffel/components
Version:
Component library to build your travel product with Duffel.
16 lines (15 loc) • 549 B
TypeScript
import * as React from "react";
import { Color } from "@lib/colors";
export interface TimelineItemProps {
label?: string | React.ReactNode;
description?: string;
dot?: boolean;
dotColor?: Color;
lineColorLeft?: Color;
lineColorRight?: Color;
size?: "extra-small" | "small" | "medium" | "large" | "extra-large";
tooltip?: string | boolean;
aboveDot?: React.ReactNode;
date?: string;
}
export declare const TimelineItem: React.ForwardRefExoticComponent<TimelineItemProps & React.RefAttributes<HTMLDivElement>>;