"use client";

import React from "react";

interface TimelineBaseProps {
  title: string;
  description?: string;
  children?: React.ReactNode;
}

export const TimelineBase: React.FC<TimelineBaseProps> = ({
  title,
  description,
  children,
}) => {
  return (
    <div className="timeline-base">
      <h2 className="text-2xl font-bold">{title}</h2>
      {description && <p className="text-base text-accent/75">{description}</p>}
      {children}
    </div>
  );
};

export default TimelineBase;
