"use client";

/** Telegram-style centered date capsule */
export default function ChatDateSeparator({ label }: { label: string }) {
  return (
    <div className="my-3 flex w-full justify-center">
      <span className="glass-panel rounded-full px-3 py-1 text-[11px] font-medium text-neutral-600 dark:text-neutral-300">
        {label}
      </span>
    </div>
  );
}
