+ {/* 工具栏 */}
+
+
}
+ title={null}
+ arrow={false}
+ trigger="click"
+ placement="topLeft"
+ open={emojiVisible}
+ onOpenChange={setEmojiVisible}
+ >
+
+
+
sendFileMessage(options.file as File)}
+ multiple
+ className="flex"
+ >
+
+
+
+
+
+
start()}
+ />
+
+
+ {/* 录音条 */}
+ {recording && (
+
+
+
+ {t("placeholder.microphone")} {seconds}″
+
+
+
+
+ )}
+
+ {/* 输入框 */}
+
+ setText(e.target.value)}
+ onKeyDown={onKeyDown}
+ />
+
+
+ {/* 底部提示 + 发送按钮 */}
+
+
+ {t("placeholder.enterToSendTip")}
+
+
+
+
+