"use client";

type Props = {
  label: string;
};

/** تاریخ/ساعت وسط خط جداکننده (مثل قبل) */
export default function ListDateSeparator({ label }: Props) {
  return (
    <div className="mb-3 mt-5 flex items-center gap-3 first:mt-1">
      <div className="h-px min-w-0 flex-1 bg-neutral-200 dark:bg-neutral-700" />
      <span className="shrink-0 text-xs font-medium text-neutral-500">
        {label}
      </span>
      <div className="h-px min-w-0 flex-1 bg-neutral-200 dark:bg-neutral-700" />
    </div>
  );
}
