feat: extract ThreadTitle component

This commit is contained in:
Henry Li
2026-01-17 17:37:12 +08:00
parent f1c6991194
commit d8f0f91238
2 changed files with 15 additions and 7 deletions

View File

@@ -0,0 +1,11 @@
import { FlipDisplay } from "./flip-display";
export function ThreadTitle({
threadTitle,
}: {
className?: string;
threadId: string;
threadTitle: string;
}) {
return <FlipDisplay uniqueKey={threadTitle}>{threadTitle}</FlipDisplay>;
}