feat(chat): port chat widget components from Dart to React
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
"use client";
|
||||
/**
|
||||
* AiDisclosureBanner AI 声明横幅
|
||||
*
|
||||
* 原始 Dart: lib/ui/chat/widgets/ai_disclosure_banner.dart(17 行)
|
||||
*
|
||||
* 视觉:居中灰色小字 "All content is generated by AI"
|
||||
* 用途:位于聊天区顶部,声明 AI 生成内容(合规 / 法律要求)
|
||||
*/
|
||||
import styles from "./chat-area.module.css";
|
||||
|
||||
export function AiDisclosureBanner() {
|
||||
return (
|
||||
<div className={styles.aiDisclosure} role="note">
|
||||
All content is generated by AI
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user