import clsx from "clsx"; import React from "react"; export interface TimelineLineProps { current?: boolean; startSegmentLength?: string | number; center: "node" | null; className?: string; style?: React.CSSProperties; } const TimelineLine: React.FC = ({ startSegmentLength, center, current, className, style, }) => { return (
{center == "node" ? (
) : null}
{current &&
}
); }; export default TimelineLine;