mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-18 20:14:44 +08:00
feat: extract ThreadTitle component
This commit is contained in:
11
frontend/src/components/workspace/thread-title.tsx
Normal file
11
frontend/src/components/workspace/thread-title.tsx
Normal 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>;
|
||||
}
|
||||
Reference in New Issue
Block a user