Merge pull request #271 from RugerMcCarthy/feat/send_preview_option

feat: add switch of send preview bubble
This commit is contained in:
Yifei Zhang
2023-04-02 20:08:35 +08:00
committed by GitHub
6 changed files with 31 additions and 13 deletions

View File

@@ -43,6 +43,7 @@ export interface ChatConfig {
fontSize: number;
theme: Theme;
tightBorder: boolean;
sendPreviewBubble: boolean;
disablePromptHint: boolean;
@@ -132,6 +133,7 @@ const DEFAULT_CONFIG: ChatConfig = {
fontSize: 14,
theme: Theme.Auto as Theme,
tightBorder: false,
sendPreviewBubble: true,
disablePromptHint: false,