Skip to content

Commit

Permalink
chore: Add new options for text area focused and disabled styles
Browse files Browse the repository at this point in the history
  • Loading branch information
tjtanjin committed Apr 1, 2024
1 parent faf555d commit 5547aae
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/services/BotOptionsService.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ const defaultOptions = {
bodyStyle: {},
chatInputContainerStyle: {},
chatInputAreaStyle: {},
chatInputAreaFocusedStyle: {},
chatInputAreaDisabledStyle: {},
userBubbleStyle: {},
botBubbleStyle: {},
botOptionStyle: {},
Expand Down
6 changes: 6 additions & 0 deletions src/types/Options.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,12 @@ export type Options = {
chatInputAreaStyle?: {
[key: string]: string | number;
},
chatInputAreaFocusedStyle?: {
[key: string]: string | number;
},
chatInputAreaDisabledStyle?: {
[key: string]: string | number;
},
userBubbleStyle?: {
[key: string]: string | number;
},
Expand Down

0 comments on commit 5547aae

Please sign in to comment.