import type { ReactNode } from "react"; import type { LucideIcon } from "lucide-react"; import { cn } from "~/lib/utils"; import { Tooltip, TooltipPopup, TooltipTrigger } from "~/components/ui/tooltip"; export function TimelineSystemDivider(props: { readonly label: string; readonly detail?: ReactNode | null; readonly tone?: "neutral" | "danger"; readonly icon?: LucideIcon; readonly showDetailSeparator?: boolean; readonly actionLabel?: string; readonly onAction?: () => void; }) { const Icon = props.icon; const content = ( <> {Icon ? : null} {props.label} {props.detail ? ( {props.showDetailSeparator === false ? null : "ยท\u00a0"} {props.detail} ) : null} ); return (
); }