"use client"; import { memo } from "react"; import { cls } from "@/lib/utils"; import { Check, Loader } from "lucide-react"; import type { InvertedBackground } from "@/providers/themeProvider/config/constants"; export type TimelineItem = { label: string; detail: string; }; interface BentoTimelineProps { heading: string; subheading: string; items: [TimelineItem, TimelineItem, TimelineItem]; completedLabel: string; useInvertedBackground: InvertedBackground; className?: string; } const itemDelays = [ { check: 'delay-[150ms]', label: 'delay-[200ms]', detail: 'delay-[250ms]' }, { check: 'delay-[350ms]', label: 'delay-[400ms]', detail: 'delay-[450ms]' }, { check: 'delay-[550ms]', label: 'delay-[600ms]', detail: 'delay-[650ms]' }, ] as const; const BentoTimeline = ({ heading, subheading, items, completedLabel, useInvertedBackground, className = "", }: BentoTimelineProps) => { void useInvertedBackground; return (

{heading}

{subheading}

{items.map((item, index) => (

{item.label}

{item.detail}

))}
{[0, 1, 2].map((i) => (
))}

{completedLabel}

); }; BentoTimeline.displayName = "BentoTimeline"; export default memo(BentoTimeline);