Files
cozsweet-frontend-nextjs/src/app/chat/components/date-header.tsx
T
admin 6e51cb7d16 Refactor: Remove original Dart references from comments across multiple files
- Updated comments in various components, schemas, and repositories to remove references to original Dart files.
- Ensured consistency in documentation while maintaining the context of the code.
2026-06-29 11:31:21 +08:00

22 lines
423 B
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
"use client";
/**
* DateHeader 日期分隔条
*
*
*
* 视觉:居中灰色 chip"今天 14:32" / "昨天 09:15" / 具体日期)
*/
import styles from "./chat-area.module.css";
export interface DateHeaderProps {
date: string;
}
export function DateHeader({ date }: DateHeaderProps) {
return (
<div className={styles.dateHeader}>
<span className={styles.dateChip}>{date}</span>
</div>
);
}