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